linux/drivers/net/ethernet/chelsio
Randy Dunlap 6e915b2748 net: chelsio: inline_crypto: fix Kconfig and build errors
Fix build errors when TLS=m, TLS_TOE=y, and CRYPTO_DEV_CHELSIO_TLS=y.

Having (tristate) CRYPTO_DEV_CHELSIO_TLS depend on (bool) TLS_TOE
is not strong enough to prevent the bad combination of TLS=m and
CRYPTO_DEV_CHELSIO_TLS=y, so add a dependency on TLS to prevent the
problematic kconfig combination.

Fixes these build errors:

hppa-linux-ld: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.o: in function `chtls_free_uld':
 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c:165: undefined reference to `tls_toe_unregister_device'
hppa-linux-ld: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.o: in function `chtls_register_dev':
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c:204: undefined reference to `tls_toe_register_device'

Fixes: 53b4414a70 ("net/tls: allow compiling TLS TOE out")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20201019181059.22634-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-20 18:15:53 -07:00
..
cxgb chelsio: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
cxgb3 net: cxgb3: Cleanup in_interrupt() usage 2020-09-29 14:02:53 -07:00
cxgb4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-15 12:43:21 -07:00
cxgb4vf cxgb4vf: convert to use DEFINE_SEQ_ATTRIBUTE macro 2020-09-16 17:39:00 -07:00
inline_crypto net: chelsio: inline_crypto: fix Kconfig and build errors 2020-10-20 18:15:53 -07:00
libcxgb net/chelsio: Delete drive and module versions 2020-03-03 17:54:54 -08:00
Kconfig chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00
Makefile chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00