summaryrefslogtreecommitdiffstats
path: root/lib/cordic.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-25 22:46:28 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 23:08:07 +0200
commitc2e872a27c610a5e2a71444f86470f765ed9dfce (patch)
tree34404a5b478f15d88bcc9f906c6eb9f9dbd422f0 /lib/cordic.c
parentscsi: Remove an obsolete function declaration (diff)
downloadlinux-c2e872a27c610a5e2a71444f86470f765ed9dfce.tar.xz
linux-c2e872a27c610a5e2a71444f86470f765ed9dfce.zip
scsi: Avoid sign extension of scsi_device.type
This patch avoids that smatch reports the following: drivers/scsi/scsi_sysfs.c:506 scsi_bus_uevent() warn: argument 3 to %02x specifier has type 'char' drivers/scsi/scsi_sysfs.c:872 sdev_show_modalias() warn: argument 4 to %02x specifier has type 'char' Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/cordic.c')
0 files changed, 0 insertions, 0 deletions