public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: [2.5 patch] don't include non-existant NCR53c406a.h
Date: Mon, 18 Nov 2002 15:06:27 +0100	[thread overview]
Message-ID: <20021118140626.GF11952@fs.tum.de> (raw)


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

                 reply	other threads:[~2002-11-18 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021118140626.GF11952@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox