public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] don't include non-existant NCR53c406a.h
@ 2002-11-18 14:06 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2002-11-18 14:06 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, trivial


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

Please apply
Adrian


----- Forwarded message from Adrian Bunk <bunk@fs.tum.de> -----

Date:	Tue, 12 Nov 2002 00:32:23 +0100
From: Adrian Bunk <bunk@fs.tum.de>
To: Linus Torvalds <torvalds@transmeta.com>,
    Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux v2.5.47

On Sun, Nov 10, 2002 at 07:46:06PM -0800, Linus Torvalds wrote:

>...
> Alan Cox <alan@lxorguk.ukuu.org.uk>:
>...
>   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:

--- linux-2.5.47/drivers/scsi/NCR53c406a.c.old	2002-11-12 00:21:27.000000000 +0100
+++ linux-2.5.47/drivers/scsi/NCR53c406a.c	2002-11-12 00:21:51.000000000 +0100
@@ -55,7 +55,6 @@
 #include <linux/spinlock.h>
 #include "scsi.h"
 #include "hosts.h"
-#include "NCR53c406a.h"
 
 /* ============================================================= */
 


cu
Adrian

-- 

       "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 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/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-18 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-18 14:06 [2.5 patch] don't include non-existant NCR53c406a.h Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox