aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorTomas Winkler <[email protected]>2015-07-28 13:54:23 +0000
committerJames Bottomley <[email protected]>2015-09-06 18:01:18 +0000
commit58a8635d5a1b49c4b87fb48969319e1ce77d3f03 (patch)
tree4411fea415b72ce298f1dfffc01aa1d613941dc0 /drivers/scsi/scsi_debug.c
parentscsi_debug: vfree is null safe so drop the check (diff)
downloadkernel-58a8635d5a1b49c4b87fb48969319e1ce77d3f03.tar.gz
kernel-58a8635d5a1b49c4b87fb48969319e1ce77d3f03.zip
scsi_debug: make dump_sector static
fixes warning: warning: no previous prototype for ‘dump_sector’ Signed-off-by: Tomas Winkler <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r--drivers/scsi/scsi_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index e2c509e39765..3a70683cf9f9 100644
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -2681,7 +2681,7 @@ resp_read_dt0(struct scsi_cmnd *scp, struct sdebug_dev_info *devip)
return 0;
}
-void dump_sector(unsigned char *buf, int len)
+static void dump_sector(unsigned char *buf, int len)
{
int i, j, n;