linux/drivers/net/ethernet/chelsio/inline_crypto
Arnd Bergmann 6f235a69e5 ch_ktls: fix enum-conversion warning
gcc points out an incorrect enum assignment:

drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c: In function 'chcr_ktls_cpl_set_tcb_rpl':
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:684:22: warning: implicit conversion from 'enum <anonymous>' to 'enum ch_ktls_open_state' [-Wenum-conversion]

This appears harmless, and should apparently use 'CH_KTLS_OPEN_SUCCESS'
instead of 'false', with the same value '0'.

Fixes: efca3878a5 ("ch_ktls: Issue if connection offload fails")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-24 12:35:39 -07:00
..
ch_ipsec ch_ipsec: Remove initialization of rxq related data 2021-01-14 18:11:26 -08:00
ch_ktls ch_ktls: fix enum-conversion warning 2021-03-24 12:35:39 -07:00
chtls cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds 2021-02-15 12:39:33 -08:00
Kconfig chcr_ktls: use AES library for single use cipher 2021-01-03 08:41:35 +11:00
Makefile crypto/chcr: move nic TLS functionality to drivers/net 2020-09-11 17:26:39 -07:00