]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
scsi: lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc
authorJames Smart <jsmart2021@gmail.com>
Fri, 25 Oct 2019 18:25:30 +0000 (11:25 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Oct 2019 01:48:37 +0000 (21:48 -0400)
lpfc_debufs.c was missing include of vmalloc.h when compiled on PPC.

Add missing header.

Link: https://lore.kernel.org/r/20191025182530.26653-1-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_debugfs.c

index ab124f7d50d656c0b21b12b93b4ddbbf89b2be2d..6c8effcfc8ae902c4113134d31ac750acd461da0 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/pci.h>
 #include <linux/spinlock.h>
 #include <linux/ctype.h>
+#include <linux/vmalloc.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_device.h>