lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc
Subsystems (3)
PATCH 1/1 lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc
lpfc_debufs.c was missing include of vmalloc.h when compiled on PPC.
Add missing header.
Signed-off-by Dick Kennedy <[email protected]>
Signed-off-by James Smart <[email protected]>
--- drivers/scsi/lpfc/lpfc_debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/lpfc/lpfc_debugfs.c +1 -0
@@ -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>
Signature · 1 line
2.13.7
Quoted 15 lines · James Smart
lpfc_debufs.cwas missing include ofvmalloc.hwhen compiled on PPC.Add missing header.
Signed-off-by Dick Kennedy <[email protected]>Signed-off-by James Smart <[email protected]>--- drivers/scsi/lpfc/lpfc_debugfs.c | 1 + 1 file changed, 1 insertion(+)drivers/scsi/lpfc/lpfc_debugfs.c +0
-0
drivers/scsi/lpfc/lpfc_debugfs.c line 37
Quoted 7 lines
drivers/scsi/lpfc/lpfc_debugfs.c +1
-0@@ -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>
Reviewed-by Ewan D. Milne <[email protected]>
Martin K. Petersen
AppliedJames,
Quoted 3 lines
lpfc_debufs.cwas missing include ofvmalloc.hwhen compiled on PPC.Add missing header.
Applied to 5.5/scsi-queue, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering