Re: [PATCH v2] cxgb4: Fix 'defined but not used' warning for cxgb4_uld_in_use()

2020-06-06 Thread David Miller
From: Tom Seewald Date: Sat, 6 Jun 2020 01:04:21 -0500 >> This doesn't apply to the net GIT tree. > Apologies, this fix is for net-next. Let me know if I should resend. Right now net == net-next, and no new changes are going into net-next.

Re: [PATCH v2] cxgb4: Fix 'defined but not used' warning for cxgb4_uld_in_use()

2020-06-06 Thread Tom Seewald
Looks like this has already been fixed in net, sorry for the noise.

Re: [PATCH v2] cxgb4: Fix 'defined but not used' warning for cxgb4_uld_in_use()

2020-06-05 Thread Tom Seewald
> This doesn't apply to the net GIT tree. Apologies, this fix is for net-next. Let me know if I should resend. Thanks

Re: [PATCH v2] cxgb4: Fix 'defined but not used' warning for cxgb4_uld_in_use()

2020-06-05 Thread David Miller
From: Tom Seewald Date: Thu, 4 Jun 2020 20:36:32 -0500 > The only user of cxgb4_uld_in_use() is cxgb4_set_ktls_feature() which is > only available when CONFIG_CHELSIO_TLS_DEVICE=y. To avoid this compiler > warning when CONFIG_CHELSIO_TLS_DEVICE=n, place cxgb4_uld_in_use() behind > the same ifdef

[PATCH v2] cxgb4: Fix 'defined but not used' warning for cxgb4_uld_in_use()

2020-06-04 Thread Tom Seewald
The only user of cxgb4_uld_in_use() is cxgb4_set_ktls_feature() which is only available when CONFIG_CHELSIO_TLS_DEVICE=y. To avoid this compiler warning when CONFIG_CHELSIO_TLS_DEVICE=n, place cxgb4_uld_in_use() behind the same ifdef. Signed-off-by: Tom Seewald --- drivers/net/ethernet/chelsio/c