crypto/chcr: error seen if CONFIG_CHELSIO_TLS_DEVICE isn't set
Subsystems (3)
PATCH 1/1 crypto/chcr: error seen if CONFIG_CHELSIO_TLS_DEVICE isn't set
cxgb4_uld_in_use() is used only by cxgb4_ktls_det_feature() which is under CONFIG_CHELSIO_TLS_DEVICE macro.
Signed-off-by Rohit Maheshwari <[email protected]>
--- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c +1 -1
@@ -663,6 +663,7 @@ static int uld_attach(struct adapter *adap, unsigned int uld)return 0 ; } +#ifdef CONFIG_CHELSIO_TLS_DEVICE static bool cxgb4_uld_in_use (struct adapter *adap) {const struct tid_info *t = &adap->tids;
@@ -670,7 +671,6 @@ static bool cxgb4_uld_in_use(struct adapter *adap)return (atomic_read (&t->conns_in_use) || t->stids_in_use); } -#ifdef CONFIG_CHELSIO_TLS_DEVICE /* cxgb4_set_ktls_feature: request FW to enable/disable ktls settings. * @adap: adapter info * @enable: 1 to enable / 0 to disable ktls settings.
Signature · 1 line
2.18.1
Jakub Kicinski
maintainerQuoted 4 lines · On Tue, 2 Jun 2020 12:12:13 +0530 Rohit Maheshwari wrote:
cxgb4_uld_in_use()is used only bycxgb4_ktls_det_feature()which is underCONFIG_CHELSIO_TLS_DEVICEmacro.Signed-off-by Rohit Maheshwari <[email protected]>
Please provide Fixes tags on your patches to net.