Linux-Next Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc
@ 2019-10-25 18:25 James Smart
  2019-10-25 21:33 ` Ewan D. Milne
  2019-10-29  1:49 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: James Smart @ 2019-10-25 18:25 UTC (permalink / raw)
  To: linux-scsi
  Cc: linux-kernel, linux-next, martin.petersen, sfr, James Smart,
	Dick Kennedy

lpfc_debufs.c was missing include of vmalloc.h when compiled on PPC.

Add missing header.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
---
 drivers/scsi/lpfc/lpfc_debugfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
index ab124f7d50d6..6c8effcfc8ae 100644
--- a/drivers/scsi/lpfc/lpfc_debugfs.c
+++ b/drivers/scsi/lpfc/lpfc_debugfs.c
@@ -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>
-- 
2.13.7


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc
  2019-10-25 18:25 [PATCH] lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc James Smart
@ 2019-10-25 21:33 ` Ewan D. Milne
  2019-10-29  1:49 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Ewan D. Milne @ 2019-10-25 21:33 UTC (permalink / raw)
  To: James Smart, linux-scsi
  Cc: linux-kernel, linux-next, martin.petersen, sfr, Dick Kennedy

On Fri, 2019-10-25 at 11:25 -0700, James Smart wrote:
> lpfc_debufs.c was missing include of vmalloc.h when compiled on PPC.
> 
> Add missing header.
> 
> Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
> Signed-off-by: James Smart <jsmart2021@gmail.com>
> ---
>  drivers/scsi/lpfc/lpfc_debugfs.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
> index ab124f7d50d6..6c8effcfc8ae 100644
> --- a/drivers/scsi/lpfc/lpfc_debugfs.c
> +++ b/drivers/scsi/lpfc/lpfc_debugfs.c
> @@ -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 <emilne@redhat.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc
  2019-10-25 18:25 [PATCH] lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc James Smart
  2019-10-25 21:33 ` Ewan D. Milne
@ 2019-10-29  1:49 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2019-10-29  1:49 UTC (permalink / raw)
  To: James Smart
  Cc: linux-scsi, linux-kernel, linux-next, martin.petersen, sfr, Dick Kennedy


James,

> lpfc_debufs.c was missing include of vmalloc.h when compiled on PPC.
>
> Add missing header.

Applied to 5.5/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 18:25 [PATCH] lpfc: fix build error of lpfc_debugfs.c for vfree/vmalloc James Smart
2019-10-25 21:33 ` Ewan D. Milne
2019-10-29  1:49 ` Martin K. Petersen

Linux-Next Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
		linux-next@vger.kernel.org
	public-inbox-index linux-next

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git