* [TRIVIAL] [TRIVIAL 2.6] drivers_scsi_mvme147.c: kill duplicate #include
@ 2004-05-20 7:08 Rusty Russell
2004-05-20 12:43 ` James Bottomley
0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2004-05-20 7:08 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-scsi, axboe
From: a.othieno@bluewin.ch (Arthur Othieno)
---
Hi,
>From scripts/checkincludes.pl:
./drivers/scsi/mvme147.c: mvme147.h is included more than once.
Output from `grep' shows:
$ grep -n 'mvme147.h' drivers/scsi/mvme147.c
16:#include "mvme147.h"
125:#include "mvme147.h"
Against 2.6.5. Thanks.
--- trivial-2.6.6-bk6/drivers/scsi/mvme147.c.orig 2004-05-20 15:59:33.000000000 +1000
+++ trivial-2.6.6-bk6/drivers/scsi/mvme147.c 2004-05-20 15:59:33.000000000 +1000
@@ -122,8 +122,6 @@
#define HOSTS_C
-#include "mvme147.h"
-
static Scsi_Host_Template driver_template = {
.proc_name = "MVME147",
.name = "MVME147 built-in SCSI",
--
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
Don't blame me: the Monkey is driving
File: a.othieno@bluewin.ch (Arthur Othieno): [TRIVIAL 2.6] drivers_scsi_mvme147.c: kill duplicate #include
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [TRIVIAL] [TRIVIAL 2.6] drivers_scsi_mvme147.c: kill duplicate #include
2004-05-20 7:08 [TRIVIAL] [TRIVIAL 2.6] drivers_scsi_mvme147.c: kill duplicate #include Rusty Russell
@ 2004-05-20 12:43 ` James Bottomley
0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2004-05-20 12:43 UTC (permalink / raw)
To: Rusty Russell; +Cc: Andrew Morton, SCSI Mailing List, Jens Axboe
On Thu, 2004-05-20 at 02:08, Rusty Russell wrote:
> --- trivial-2.6.6-bk6/drivers/scsi/mvme147.c.orig 2004-05-20 15:59:33.000000000 +1000
> +++ trivial-2.6.6-bk6/drivers/scsi/mvme147.c 2004-05-20 15:59:33.000000000 +1000
> @@ -122,8 +122,6 @@
>
> #define HOSTS_C
>
> -#include "mvme147.h"
> -
> static Scsi_Host_Template driver_template = {
> .proc_name = "MVME147",
> .name = "MVME147 built-in SCSI",
Same for this. HOST_C alters the behaviour of the second include.
James
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-20 12:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 7:08 [TRIVIAL] [TRIVIAL 2.6] drivers_scsi_mvme147.c: kill duplicate #include Rusty Russell
2004-05-20 12:43 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox