Re: Linux 2.4.9-ac17

Erik Andersen (andersen@codepoet.org)
Fri, 28 Sep 2001 21:21:15 -0600


On Fri Sep 28, 2001 at 09:10:27PM -0600, Erik Andersen wrote:
> On Sat Sep 29, 2001 at 12:44:12AM +0100, Alan Cox wrote:
> >
> > 2.4.9-ac17
> > o Next batch of MODULE_LICENSE tags (Arjan van de Ven)
>
>
> gcc -D__KERNEL__ -I/home/andersen/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c -o aha1740.o aha1740.c
> aha1740.c:617: parse error before string constant
> aha1740.c:617: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
> aha1740.c:617: warning: function declaration isn't a prototype
> aha1740.c:617: warning: data definition has no type or storage class
> make[4]: *** [aha1740.o] Error 1
>

Found another silly buglet...

--- linux/drivers/scsi/aha1740.c.orig Fri Sep 28 08:05:39 2001
+++ linux/drivers/scsi/aha1740.c Fri Sep 28 08:05:49 2001
@@ -22,10 +22,7 @@
* if it doesn't work for your devices, take a look.
*/

-#ifdef MODULE
#include <linux/module.h>
-#endif
-
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
--- linux/drivers/scsi/ncr53c8xx.c.orig Fri Sep 28 08:06:37 2001
+++ linux/drivers/scsi/ncr53c8xx.c Fri Sep 28 08:06:45 2001
@@ -116,10 +116,7 @@

#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))

-#ifdef MODULE
#include <linux/module.h>
-#endif
-
#include <asm/dma.h>
#include <asm/io.h>
#include <asm/system.h>

-Erik

--
Erik B. Andersen   email:  andersee@debian.org, formerly of Lineo
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/