scsi: BusLogic: Use %X for u32 sized integer rather than %lX
[ Upstream commit2127cd21fb] 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:4362269711("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") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8ea3e622af
commit
59137b7dff
1 changed files with 1 additions and 1 deletions
|
|
@ -1845,7 +1845,7 @@ static bool __init blogic_reportconfig(struct blogic_adapter *adapter)
|
|||
else
|
||||
blogic_info("None, ", adapter);
|
||||
if (adapter->bios_addr > 0)
|
||||
blogic_info("BIOS Address: 0x%lX, ", adapter,
|
||||
blogic_info("BIOS Address: 0x%X, ", adapter,
|
||||
adapter->bios_addr);
|
||||
else
|
||||
blogic_info("BIOS Address: None, ", adapter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue