]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] qla2xxx: Fix build errors related to invalid print fields on some architectures.
authorChad Dupuis <chad.dupuis@qlogic.com>
Thu, 13 Mar 2014 18:16:40 +0000 (14:16 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 19 Mar 2014 22:10:20 +0000 (15:10 -0700)
commit97ea702bacf8ffb0b27448a46a7a66bfd9004202
tree8b724e8b93b0d8f1e1601dc32e81cc8c4cd3b05f
parentb367dcaa512922e9207160bef0895622cfae4c9f
[SCSI] qla2xxx: Fix build errors related to invalid print fields on some architectures.

Fixes some build warnings such as:
drivers/scsi/qla2xxx/qla_attr.c:162:6: warning: format '%lx' expects argument of
type 'long unsigned int', but argument 6 has type 'size_t'"
and
drivers/scsi/qla2xxx/qla_init.c:5198:7: warning: format '%lx' expects argument
of type 'long unsigned int', but argument 5 has type 'uint32_t' [-Wformat]

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_init.c