* [PATCH 2.6.13 1/20] aic94xx: Makefile
@ 2005-09-09 19:32 Luben Tuikov
2005-09-09 19:35 ` Benjamin LaHaise
2005-09-09 20:18 ` Alexey Dobriyan
0 siblings, 2 replies; 8+ messages in thread
From: Luben Tuikov @ 2005-09-09 19:32 UTC (permalink / raw)
To: Linux Kernel Mailing List, SCSI Mailing List
Signed-off-by: Luben Tuikov <luben_tuikov@adaptec.com>
diff -X linux-2.6.13/Documentation/dontdiff -Naur linux-2.6.13-orig/drivers/scsi/aic94xx/Makefile linux-2.6.13/drivers/scsi/aic94xx/Makefile
--- linux-2.6.13-orig/drivers/scsi/aic94xx/Makefile 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6.13/drivers/scsi/aic94xx/Makefile 2005-09-09 11:23:01.000000000 -0400
@@ -0,0 +1,46 @@
+#
+# Makefile for Adaptec aic94xx SAS/SATA driver.
+#
+# Copyright (C) 2005 Adaptec, Inc. All rights reserved.
+# Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
+#
+# This file is licensed under GPLv2.
+#
+# This file is part of the the aic94xx driver.
+#
+# The aic94xx driver is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; version 2 of the
+# License.
+#
+# The aic94xx driver is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with the aic94xx driver; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# $Id: //depot/aic94xx/Makefile#34 $
+#
+
+CHECK = sparse -Wbitwise
+
+ifeq ($(CONFIG_AIC94XX_DEBUG),y)
+ EXTRA_CFLAGS += -DASD_DEBUG -DASD_ENTER_EXIT -g
+endif
+
+clean-files += *~
+
+obj-$(CONFIG_SCSI_AIC94XX) += aic94xx.o
+aic94xx-y += aic94xx_init.o \
+ aic94xx_hwi.o \
+ aic94xx_reg.o \
+ aic94xx_sds.o \
+ aic94xx_seq.o \
+ aic94xx_dump.o \
+ aic94xx_scb.o \
+ aic94xx_dev.o \
+ aic94xx_tmf.o \
+ aic94xx_task.o
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2.6.13 1/20] aic94xx: Makefile
2005-09-09 19:32 [PATCH 2.6.13 1/20] aic94xx: Makefile Luben Tuikov
@ 2005-09-09 19:35 ` Benjamin LaHaise
2005-09-09 19:48 ` Luben Tuikov
2005-09-09 20:11 ` Jeff Garzik
2005-09-09 20:18 ` Alexey Dobriyan
1 sibling, 2 replies; 8+ messages in thread
From: Benjamin LaHaise @ 2005-09-09 19:35 UTC (permalink / raw)
To: Luben Tuikov; +Cc: Linux Kernel Mailing List, SCSI Mailing List
A single file per patch is not really a patch split up. Patches should
stand on their own, leaving the tree in a compilable functioning state
during each step.
-ben
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2.6.13 1/20] aic94xx: Makefile
2005-09-09 19:35 ` Benjamin LaHaise
@ 2005-09-09 19:48 ` Luben Tuikov
2005-09-09 20:11 ` Jeff Garzik
1 sibling, 0 replies; 8+ messages in thread
From: Luben Tuikov @ 2005-09-09 19:48 UTC (permalink / raw)
To: Benjamin LaHaise; +Cc: Linux Kernel Mailing List, SCSI Mailing List
Hi Ben,
I think I mentioned this in the Announcement 0/2:
http://www.geocities.com/ltuikov/
I'll soon move this to an Adaptec site.
Luben
On 09/09/05 15:35, Benjamin LaHaise wrote:
> A single file per patch is not really a patch split up. Patches should
> stand on their own, leaving the tree in a compilable functioning state
> during each step.
>
> -ben
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2.6.13 1/20] aic94xx: Makefile
2005-09-09 19:35 ` Benjamin LaHaise
2005-09-09 19:48 ` Luben Tuikov
@ 2005-09-09 20:11 ` Jeff Garzik
1 sibling, 0 replies; 8+ messages in thread
From: Jeff Garzik @ 2005-09-09 20:11 UTC (permalink / raw)
To: Benjamin LaHaise
Cc: Luben Tuikov, Linux Kernel Mailing List, SCSI Mailing List
On Fri, Sep 09, 2005 at 03:35:41PM -0400, Benjamin LaHaise wrote:
> A single file per patch is not really a patch split up. Patches should
> stand on their own, leaving the tree in a compilable functioning state
> during each step.
Agreed, though for new drivers, this appears to be one way to get new
code past mailing list size filters, making it easier for the linux-scsi
audience to review the code. The alternative is posting a link, which
cuts down on mailing list spew, but also I bet cuts down on review.
Jeff
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2.6.13 1/20] aic94xx: Makefile
2005-09-09 19:32 [PATCH 2.6.13 1/20] aic94xx: Makefile Luben Tuikov
2005-09-09 19:35 ` Benjamin LaHaise
@ 2005-09-09 20:18 ` Alexey Dobriyan
2005-09-09 20:12 ` Luben Tuikov
2005-09-09 20:14 ` viro
1 sibling, 2 replies; 8+ messages in thread
From: Alexey Dobriyan @ 2005-09-09 20:18 UTC (permalink / raw)
To: Luben Tuikov; +Cc: linux-kernel, linux-scsi
On Fri, Sep 09, 2005 at 03:32:05PM -0400, Luben Tuikov wrote:
> --- linux-2.6.13-orig/drivers/scsi/aic94xx/Makefile
> +++ linux-2.6.13/drivers/scsi/aic94xx/Makefile
> +CHECK = sparse -Wbitwise
make C=1 CHECK="sparse -Wbitwise"
or
make C=1
> +clean-files += *~
Don't override what other people want.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2.6.13 1/20] aic94xx: Makefile
2005-09-09 20:18 ` Alexey Dobriyan
@ 2005-09-09 20:12 ` Luben Tuikov
2005-09-09 20:14 ` viro
1 sibling, 0 replies; 8+ messages in thread
From: Luben Tuikov @ 2005-09-09 20:12 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: linux-kernel, linux-scsi
On 09/09/05 16:18, Alexey Dobriyan wrote:
> On Fri, Sep 09, 2005 at 03:32:05PM -0400, Luben Tuikov wrote:
>
>>--- linux-2.6.13-orig/drivers/scsi/aic94xx/Makefile
>>+++ linux-2.6.13/drivers/scsi/aic94xx/Makefile
>
>
>>+CHECK = sparse -Wbitwise
>
>
> make C=1 CHECK="sparse -Wbitwise"
> or
> make C=1
>
>
>>+clean-files += *~
>
>
> Don't override what other people want.
Ok, will do.
Luben
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2.6.13 1/20] aic94xx: Makefile
2005-09-09 20:18 ` Alexey Dobriyan
2005-09-09 20:12 ` Luben Tuikov
@ 2005-09-09 20:14 ` viro
2005-09-10 12:26 ` Sam Ravnborg
1 sibling, 1 reply; 8+ messages in thread
From: viro @ 2005-09-09 20:14 UTC (permalink / raw)
To: Linus Torvalds
Cc: sam, Luben Tuikov, linux-kernel, linux-scsi, Alexey Dobriyan
On Sat, Sep 10, 2005 at 12:18:34AM +0400, Alexey Dobriyan wrote:
> On Fri, Sep 09, 2005 at 03:32:05PM -0400, Luben Tuikov wrote:
> > --- linux-2.6.13-orig/drivers/scsi/aic94xx/Makefile
> > +++ linux-2.6.13/drivers/scsi/aic94xx/Makefile
>
> > +CHECK = sparse -Wbitwise
>
> make C=1 CHECK="sparse -Wbitwise"
> or
> make C=1
Or patch below and use make C=1 CF=-Wbitwise...
Allows to add to sparse arguments without mutilating makefiles - just
pass CF=<arguments> and they will be added to CHECKFLAGS.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC13-git7-kconfig/Makefile RC13-git7-CHECKFLAGS/Makefile
--- RC13-git7-kconfig/Makefile 2005-09-07 13:54:44.000000000 -0400
+++ RC13-git7-CHECKFLAGS/Makefile 2005-09-07 13:54:46.000000000 -0400
@@ -333,7 +333,7 @@
PERL = perl
CHECK = sparse
-CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__
+CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ $(CF)
MODFLAGS = -DMODULE
CFLAGS_MODULE = $(MODFLAGS)
AFLAGS_MODULE = $(MODFLAGS)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2.6.13 1/20] aic94xx: Makefile
2005-09-09 20:14 ` viro
@ 2005-09-10 12:26 ` Sam Ravnborg
0 siblings, 0 replies; 8+ messages in thread
From: Sam Ravnborg @ 2005-09-10 12:26 UTC (permalink / raw)
To: viro
Cc: Linus Torvalds, Luben Tuikov, linux-kernel, linux-scsi,
Alexey Dobriyan
On Fri, Sep 09, 2005 at 09:14:35PM +0100, viro@ZenIV.linux.org.uk wrote:
> On Sat, Sep 10, 2005 at 12:18:34AM +0400, Alexey Dobriyan wrote:
> > On Fri, Sep 09, 2005 at 03:32:05PM -0400, Luben Tuikov wrote:
> > > --- linux-2.6.13-orig/drivers/scsi/aic94xx/Makefile
> > > +++ linux-2.6.13/drivers/scsi/aic94xx/Makefile
> >
> > > +CHECK = sparse -Wbitwise
> >
> > make C=1 CHECK="sparse -Wbitwise"
> > or
> > make C=1
> Or patch below and use make C=1 CF=-Wbitwise...
>
> Allows to add to sparse arguments without mutilating makefiles - just
> pass CF=<arguments> and they will be added to CHECKFLAGS.
Applied - thanks.
Sam
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-10 12:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-09 19:32 [PATCH 2.6.13 1/20] aic94xx: Makefile Luben Tuikov
2005-09-09 19:35 ` Benjamin LaHaise
2005-09-09 19:48 ` Luben Tuikov
2005-09-09 20:11 ` Jeff Garzik
2005-09-09 20:18 ` Alexey Dobriyan
2005-09-09 20:12 ` Luben Tuikov
2005-09-09 20:14 ` viro
2005-09-10 12:26 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox