Re: [PATCH -next] scsi: be2iscsi: Mark beiscsi_attrs with static keyword

2020-11-19 Thread Martin K. Petersen
On Sat, 14 Nov 2020 15:37:54 +0800, Zou Wei wrote: > Fix the following sparse warning: > > ./be_main.c:167:25: warning: symbol 'beiscsi_attrs' was not declared. Should > it be static? Applied to 5.11/scsi-queue, thanks! [1/1] scsi: be2iscsi: Mark beiscsi_attrs with static keyword https:/

Re: [PATCH -next] scsi: be2iscsi: Mark beiscsi_attrs with static keyword

2020-11-16 Thread Martin K. Petersen
Zou, > Fix the following sparse warning: > > ./be_main.c:167:25: warning: symbol 'beiscsi_attrs' was not declared. Should > it be static? Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH -next] scsi: be2iscsi: Mark beiscsi_attrs with static keyword

2020-11-13 Thread Zou Wei
Fix the following sparse warning: ./be_main.c:167:25: warning: symbol 'beiscsi_attrs' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/scsi/be2iscsi/be_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/