All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: clean up generated file scsi_devinfo_tbl.c
@ 2018-05-14  0:10 Randy Dunlap
  2018-05-14  5:52 ` Hannes Reinecke
  2018-05-15  2:48 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2018-05-14  0:10 UTC (permalink / raw)
  To: linux-scsi, Hannes Reinecke
  Cc: LKML, James E.J. Bottomley, Martin K. Petersen, Andrew Morton

From: Randy Dunlap <rdunlap@infradead.org>

"make clean" should remove the generated file "scsi_devinfo_tbl.c",
so list it in the clean-files variable so that the file gets
cleaned up.

Fixes: 345e29608b4b ("scsi: scsi: Export blacklist flags to sysfs")

Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/scsi/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-4.17-rc4.orig/drivers/scsi/Makefile
+++ linux-4.17-rc4/drivers/scsi/Makefile
@@ -182,7 +182,7 @@ zalon7xx-objs	:= zalon.o ncr53c8xx.o
 NCR_Q720_mod-objs	:= NCR_Q720.o ncr53c8xx.o
 
 # Files generated that shall be removed upon make clean
-clean-files :=	53c700_d.h 53c700_u.h
+clean-files :=	53c700_d.h 53c700_u.h scsi_devinfo_tbl.c
 
 $(obj)/53c700.o $(MODVERDIR)/$(obj)/53c700.ver: $(obj)/53c700_d.h
 

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

* Re: [PATCH] scsi: clean up generated file scsi_devinfo_tbl.c
  2018-05-14  0:10 [PATCH] scsi: clean up generated file scsi_devinfo_tbl.c Randy Dunlap
@ 2018-05-14  5:52 ` Hannes Reinecke
  2018-05-15  2:48 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Hannes Reinecke @ 2018-05-14  5:52 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-scsi, LKML, James E.J. Bottomley, Martin K. Petersen,
	Andrew Morton

On Sun, 13 May 2018 17:10:52 -0700
Randy Dunlap <rdunlap@infradead.org> wrote:

> From: Randy Dunlap <rdunlap@infradead.org>
> 
> "make clean" should remove the generated file "scsi_devinfo_tbl.c",
> so list it in the clean-files variable so that the file gets
> cleaned up.
> 
> Fixes: 345e29608b4b ("scsi: scsi: Export blacklist flags to sysfs")
> 
> Cc: Hannes Reinecke <hare@suse.de>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
>  drivers/scsi/Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-4.17-rc4.orig/drivers/scsi/Makefile
> +++ linux-4.17-rc4/drivers/scsi/Makefile
> @@ -182,7 +182,7 @@ zalon7xx-objs	:= zalon.o ncr53c8xx.o
>  NCR_Q720_mod-objs	:= NCR_Q720.o ncr53c8xx.o
>  
>  # Files generated that shall be removed upon make clean
> -clean-files :=	53c700_d.h 53c700_u.h
> +clean-files :=	53c700_d.h 53c700_u.h scsi_devinfo_tbl.c
>  
>  $(obj)/53c700.o $(MODVERDIR)/$(obj)/53c700.ver: $(obj)/53c700_d.h
>  
> 
> 

Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes

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

* Re: [PATCH] scsi: clean up generated file scsi_devinfo_tbl.c
  2018-05-14  0:10 [PATCH] scsi: clean up generated file scsi_devinfo_tbl.c Randy Dunlap
  2018-05-14  5:52 ` Hannes Reinecke
@ 2018-05-15  2:48 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2018-05-15  2:48 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-scsi, Hannes Reinecke, LKML, James E.J. Bottomley,
	Martin K. Petersen, Andrew Morton


Randy,

> "make clean" should remove the generated file "scsi_devinfo_tbl.c", so
> list it in the clean-files variable so that the file gets cleaned up.

Applied to 4.17/scsi-fixes. Thank you!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2018-05-15  2:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14  0:10 [PATCH] scsi: clean up generated file scsi_devinfo_tbl.c Randy Dunlap
2018-05-14  5:52 ` Hannes Reinecke
2018-05-15  2:48 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.