From: William Lee Irwin III <wli@holomorphy.com>
To: axboe@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fix aha1542.c setup_str[] not protected by #ifndef MODULE
Date: Thu, 7 Feb 2002 22:50:36 -0800 [thread overview]
Message-ID: <20020208065036.GH11971@holomorphy.com> (raw)
Well, this at least shuts up a warning coming from aha1542.c
setup_str[] is just not needed #ifdef MODULE Not sure what else might
be going on with this, but if the patch looks good to you, here it is.
Cheers,
Bill
--- linux/drivers/scsi/aha1542.c.orig Thu Feb 7 22:34:49 2002
+++ linux/drivers/scsi/aha1542.c Thu Feb 7 22:35:30 2002
@@ -111,8 +111,6 @@
static int setup_busoff[MAXBOARDS];
static int setup_dmaspeed[MAXBOARDS] __initdata = { -1, -1, -1, -1 };
-static char *setup_str[MAXBOARDS] __initdata;
-
/*
* LILO/Module params: aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]]
*
@@ -959,6 +957,7 @@
}
#ifndef MODULE
+static char *setup_str[MAXBOARDS] __initdata;
static int setup_idx = 0;
void __init aha1542_setup(char *str, int *ints)
reply other threads:[~2002-02-08 6:51 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=20020208065036.GH11971@holomorphy.com \
--to=wli@holomorphy.com \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
/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