aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atari_NCR5380.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2010-08-10 18:01:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 08:59:01 -0700
commit439d77f70f18ebe2b28757b141e67a25575fe363 (patch)
tree4702cd2db3252a33e8b985db3ffa75e594687efe /drivers/scsi/atari_NCR5380.c
parentd6e9fb46cd9e60946dc3e89ad8e32dd251dcc05d (diff)
downloadkernel_samsung_smdk4412-439d77f70f18ebe2b28757b141e67a25575fe363.zip
kernel_samsung_smdk4412-439d77f70f18ebe2b28757b141e67a25575fe363.tar.gz
kernel_samsung_smdk4412-439d77f70f18ebe2b28757b141e67a25575fe363.tar.bz2
scsi/sd.c: quiet all sparse noise
In sd_store_cache_type the symbol 'len' is declared twice. Remove the second declaration to quiet the following sparse warning. warning: symbol 'len' shadows an earlier one In sd_probe the variable 'index' is declared as a u32. This variable is used in a call to ida_get_new which is expecting an int *. Make the variable an int to quiet the following sparse warning. warning: incorrect type in argument 2 (different signedness) There are 4 symbols in the file that are not exported and produce the following sparse warnings. warning: symbol 'sd_cdb_cache' was not declared. Should it be static? warning: symbol 'sd_cdb_pool' was not declared. Should it be static? warning: symbol 'sd_read_protection_type' was not declared. Should it be static? warning: symbol 'sd_read_app_tag_own' was not declared. Should it be static? Make them static to quiet the warnings. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: James E.J. Bottomley <James.Bottomley@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/atari_NCR5380.c')
0 files changed, 0 insertions, 0 deletions