summaryrefslogtreecommitdiffstats
path: root/kernel/kcov.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-18 23:55:41 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-24 03:27:53 +0200
commit09968e5049b4b9a47413327c56f254aa2812bbc2 (patch)
tree83027539e2551628115c7567dbe15b3719736d7f /kernel/kcov.c
parentscsi: mvsas: Use dma_pool_zalloc (diff)
downloadlinux-09968e5049b4b9a47413327c56f254aa2812bbc2.tar.xz
linux-09968e5049b4b9a47413327c56f254aa2812bbc2.zip
scsi: 3w-sas: 3w-9xxx: Use unsigned char for cdb
Clang warns a few times: drivers/scsi/3w-sas.c:386:11: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion] cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ ~ ^~~~~~~~~~~~~~~~~~~~ Update cdb's type to unsigned char, which matches the type of the cdb member in struct TW_Command_Apache. Link: https://github.com/ClangBuiltLinux/linux/issues/158 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'kernel/kcov.c')
0 files changed, 0 insertions, 0 deletions