qla2xxx: Fix a warning reported by the "smatch" static checker
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 13 Feb 2017 20:18:29 +0000 (12:18 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Feb 2017 05:24:22 +0000 (21:24 -0800)
commit6cb3216a7863fd13fb125f0867fce55c2bbd8c8e
tree4d496309f0af7da18959e636281344829d426afd
parent4d65491c269729a1e3b375c45e73213f49103d33
qla2xxx: Fix a warning reported by the "smatch" static checker

Fix the following warning reported by the "smatch" static checker:

drivers/scsi/qla2xxx/qla_init.c:3910 qla2x00_alloc_fcport()
warn: use 'flags' here instead of GFP_XXX?

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_init.c