summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2019-08-14 16:57:02 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-08-19 22:41:11 -0400
commit4945c0f95bbfb35e230148f226c46868f4fdd55f (patch)
treeca463dad13c524cbaa540294829473f7c68a577b /mm
parent845d0327bf0885e7d2fb6cb18e800491be793250 (diff)
downloadlinux-4945c0f95bbfb35e230148f226c46868f4fdd55f.tar.bz2
scsi: lpfc: Fix BlockGuard enablement on FCoE adapters
The driver is allowing the user to change lpfc_enable_bg while loading the driver against a FCoE adapter. This is not supported. No check is made for the adapter type when applying the blockguard enablement value. Fix by verifying the adapter type before setting the enablement flag. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions