]> git.baikalelectronics.ru Git - 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)
commit5925d4b1cc494bb095cbf47c0a7cffd3903add42
treead8f7c6f50d51d88621ee4ff15f9543ff3ac24c1
parente3591c29717048268f812f7e76f243849f518723
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