scsi: initio: make initio_state_7() static
PATCH 1/1 scsi: initio: make initio_state_7() static
Fix sparse warning:
drivers/scsi/initio.c:1643:5: warning: symbol 'initio_state_7' was not declared. Should it be static?
Reported-by Hulk Robot <[email protected]>
Signed-off-by Chen Zhou <[email protected]>
--- drivers/scsi/initio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/initio.c +1 -1
@@ -1640,7 +1640,7 @@ static int initio_state_6(struct initio_host * host)* */ -int initio_state_7 (struct initio_host * host) +static int initio_state_7 (struct initio_host * host) {int cnt, i;
Signature · 1 line
2.7.4
Martin K. Petersen
AppliedChen,
Quoted 3 lines
Fix sparse warning:
drivers/scsi/initio.c:1643:5: warning: symbol 'initio_state_7' was not declared. Should it be static?
Applied to 5.6/scsi-queue, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering