2017-11-30 16:48:47

by Steve Wise

[permalink] [raw]
Subject: RE: [PATCH] iw_cxgb4: make pointer reg_workq static

>
> From: Colin Ian King <[email protected]>
>
> The pointer reg_workq is local to the source and does not need to be
> in global scope, so make it static.
>
> Cleans up sparse warning:
> drivers/infiniband/hw/cxgb4/device.c:69:25: warning: symbol 'reg_workq'
> was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <[email protected]>

Looks correct. This fixes a recent commit.

Reviewed-by: Steve Wise <[email protected]>
Fixes: 1c8f1da5d851 ("iw_cxgb4: Fix possible circular dependency locking warning")

Thanks,

Steve.


From 1585500645562870678@xxx Thu Nov 30 14:14:04 +0000 2017
X-GM-THRID: 1585497968592828029
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread