diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2015-07-28 09:54:23 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-09-06 14:01:18 -0400 |
commit | 58a8635d5a1b49c4b87fb48969319e1ce77d3f03 (patch) | |
tree | 4411fea415b72ce298f1dfffc01aa1d613941dc0 | |
parent | de232af6703ff8e283559016c14a3273ea932878 (diff) |
scsi_debug: make dump_sector static
fixes warning:
warning: no previous prototype for ‘dump_sector’
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
-rw-r--r-- | drivers/scsi/scsi_debug.c | 2 |
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) | |||
2681 | return 0; | 2681 | return 0; |
2682 | } | 2682 | } |
2683 | 2683 | ||
2684 | void dump_sector(unsigned char *buf, int len) | 2684 | static void dump_sector(unsigned char *buf, int len) |
2685 | { | 2685 | { |
2686 | int i, j, n; | 2686 | int i, j, n; |
2687 | 2687 | ||