aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2022-10-31 12:44:40 +0100
committerJakub Kicinski <[email protected]>2022-11-02 20:38:17 -0700
commit3319dbb3e755398f254c3daa04b9030197137efe (patch)
treeb8a55160ac7468df64e829b82ef531ad4f18c875 /net/unix/unix_bpf.c
parent777fa87c7682228e155cf0892ba61cb2ab1fe3ae (diff)
sfc (gcc13): synchronize ef100_enqueue_skb()'s return type
ef100_enqueue_skb() generates a valid warning with gcc-13: drivers/net/ethernet/sfc/ef100_tx.c:370:5: error: conflicting types for 'ef100_enqueue_skb' due to enum/integer mismatch; have 'int(struct efx_tx_queue *, struct sk_buff *)' drivers/net/ethernet/sfc/ef100_tx.h:25:13: note: previous declaration of 'ef100_enqueue_skb' with type 'netdev_tx_t(struct efx_tx_queue *, struct sk_buff *)' I.e. the type of the ef100_enqueue_skb()'s return value in the declaration is int, while the definition spells enum netdev_tx_t. Synchronize them to the latter. Cc: Martin Liska <[email protected]> Cc: Edward Cree <[email protected]> Cc: Martin Habets <[email protected]> Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions