]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: BusLogic: Use %X for u32 sized integer rather than %lX
authorColin Ian King <colin.king@canonical.com>
Fri, 30 Jul 2021 09:50:31 +0000 (10:50 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 1 Aug 2021 17:27:46 +0000 (13:27 -0400)
commite4e4273a733a5c6c5d2fae9ab57ca9c06753c166
tree5347f14e333dcb3b3fcdabf6a24326e777927a03
parenta621bd249d954d58b78cf32e1ad7be5410fee56c
scsi: BusLogic: Use %X for u32 sized integer rather than %lX

An earlier fix changed the print format specifier for adapter->bios_addr to
use %lX. However, the integer is a u32 so the fix was wrong. Fix this by
using the correct %X format specifier.

Link: https://lore.kernel.org/r/20210730095031.26981-1-colin.king@canonical.com
Fixes: 596fdbfb1a00 ("scsi: BusLogic: use %lX for unsigned long rather than %X")
Acked-by: Khalid Aziz <khalid@gonehiking.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Addresses-Coverity: ("Invalid type in argument")
drivers/scsi/BusLogic.c