Skip to contentSkip to conversation

don't include non-existant NCR53c406a.h

PATCH New Adrian Bunk 1 participant 1 message Nov 18, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 don't include non-existant NCR53c406a.h

The trivial patch I sent in the mail below is still needed in 2.5.48.

Please apply
Adrian

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Tue, 12 Nov 2002 00:32:23 +0100
From: Adrian Bunk <[email protected]>
To: Linus Torvalds <[email protected]>,
Alan Cox <[email protected]>
Cc: Kernel Mailing List <[email protected]>
Subject: Re: Linux v2.5.47

Quoted 5 lines · Linus Torvalds

...
Alan Cox <[email protected]>:
...
o tidy the 53c406, kill off old header
...

This patch removed the header file but not the #include in the .c file resulting in the following compile error:

<-- snip -->

...
gcc -Wp,-MD,drivers/scsi/.NCR53c406a.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6
-Iarch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=NCR53c406a -c -o
drivers/scsi/NCR53c406a.o drivers/scsi/NCR53c406a.c drivers/scsi/NCR53c406a.c:58: NCR53c406a.h: No such file or directory
...
make[2]: *** [drivers/scsi/NCR53c406a.o] Error 1

<-- snip -->

The following simple fix is needed:

drivers/scsi/NCR53c406a.c renamed from drivers/scsi/NCR53c406a.c.old +0 -1
@@ -55,7 +55,6 @@
 #include <linux/spinlock.h>
 #include "scsi.h"
 #include "hosts.h"
-#include "NCR53c406a.h"
 
 /* ============================================================= */
 

cu
Adrian

Signature · 12 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

----- End forwarded message -----