dgnc: Use ccflags -y instead of EXTRA_CFLAGS
PATCH v2 1/1 dgnc: Use ccflags -y instead of EXTRA_CFLAGS
Correction to syntax error in previous patch version. Apologies.
Signed-off-by Cass May <[email protected]>
--- drivers/staging/dgnc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/dgnc/Makefile +1 -1
@@ -1,4 +1,4 @@ -EXTRA_CFLAGS += -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\" +ccflags-y := -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\" obj-$(CONFIG_DGNC) += dgnc.o
Signature · 1 line
2.1.4
Quoted 2 lines · Cass May
Correction to syntax error in previous patch version. Apologies.
Put that stuff under the --- cut off line and not in the permanent kernel git log.
Changelog is missing. checkpatch.pl by itself is not sufficient justification. Why did the authors of checkpatch think this way is better?
drivers/staging/dgnc/Makefile line 1
Quoted 12 lines
Signed-off-by Cass May <[email protected]>--- drivers/staging/dgnc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/dgnc/Makefile +1
-1@@ -1,4 +1,4 @@ -EXTRA_CFLAGS += -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\" +ccflags-y := -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\"
This isn't the right fix. Is this stuff even needed? Hopefully, not but please check and resend a different fix.
regards,
dan carpenter