]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
scsi: fix qla2xxx printk format warning
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 23 Sep 2011 22:40:50 +0000 (15:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Sep 2011 23:02:33 +0000 (16:02 -0700)
commit8ec9c7fb15fd8edf6b34555f5b498033121b2173
treead8f7c6f50d51d88621ee4ff15f9543ff3ac24c1
parent2b7fe39babcbd67458a0c4fbed5704089e0c8c1f
scsi: fix qla2xxx printk format warning

sector_t can be different types, so cast it to its largest possible
type.

  drivers/scsi/qla2xxx/qla_isr.c:1509:5: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'sector_t'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/qla2xxx/qla_isr.c