lkml.org 
[lkml]   [2020]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] cxgb4: fix cxgb4_uld_in_use() not used error
From
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Mon, 8 Jun 2020 02:58:23 +0200

> When building without CONFIG_CHELSIO_TLS_DEVICE a build error occurs:
>
> drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:666:13: error:
> ‘cxgb4_uld_in_use’ defined but not used [-Werror=unused-function]
> 666 | static bool cxgb4_uld_in_use(struct adapter *adap)
> | ^~~~~~~~~~~~~~~~
>
> Guard cxgb4_uld_in_use() with #ifdef CONFIG_CHELSIO_TLS_DEVICE.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>


Please see commit ef1c75593e770aff8749e902aa0deb6855a3f485, which already
does this.

Thank you.
\
 
 \ /
  Last update: 2020-06-09 04:08    [W:0.037 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site