scsi: lpfc: fix "integer constant too large" error on 32bit archs
authorMaurizio Lombardi <mlombard@redhat.com>
Wed, 23 Aug 2017 23:55:48 +0000 (16:55 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:44 +0000 (22:29 -0400)
commit286871a6667c3d4d27a4cf1ee519e629527dfc9d
tree32967dcfa6b466350539ba68bff8351105c571d6
parent44fd7fe3dd2ce9dba873a0522e1eeab9ab5d5651
scsi: lpfc: fix "integer constant too large" error on 32bit archs

cc1: warnings being treated as errors
drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_get_wwpn':
drivers/scsi/lpfc/lpfc_init.c:3253: error: integer constant is too large for 'long' type

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c