diff options
author | Mark Brown <broonie@kernel.org> | 2022-02-09 14:32:59 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-09 14:32:59 +0000 |
commit | 2cbfa2128662c6b841f68cd2fe54df199457e38a (patch) | |
tree | 868184bca677f97fa7bb9f3dad5de2f39543d769 /include/linux/skbuff.h | |
parent | c17756beacf4d0b21c0e877bcfe09af645129b4e (diff) | |
parent | a0386bba70934d42f586eaf68b21d5eeaffa7bd0 (diff) | |
download | lwn-2cbfa2128662c6b841f68cd2fe54df199457e38a.tar.gz lwn-2cbfa2128662c6b841f68cd2fe54df199457e38a.zip |
spi: make remove callback a void function
Merge series from Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
this series goal is to change the spi remove callback's return value to void.
After numerous patches nearly all drivers already return 0 unconditionally.
The four first patches in this series convert the remaining three drivers to
return 0, the final patch changes the remove prototype and converts all
implementers.
base-commit: 26291c54e111ff6ba87a164d85d4a4e134b7315c
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index bf11e1fbd69b..8a636e678902 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -318,7 +318,7 @@ enum skb_drop_reason { SKB_DROP_REASON_NO_SOCKET, SKB_DROP_REASON_PKT_TOO_SMALL, SKB_DROP_REASON_TCP_CSUM, - SKB_DROP_REASON_TCP_FILTER, + SKB_DROP_REASON_SOCKET_FILTER, SKB_DROP_REASON_UDP_CSUM, SKB_DROP_REASON_MAX, }; |