From: Randy Dunlap <randy.dunlap@oracle.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, Mike Miller <mike.miller@hp.com>
Subject: [PATCH -mmotm] cciss: fix build for CONFIG_PROC_FS=n
Date: Fri, 4 Jun 2010 09:41:37 -0700 [thread overview]
Message-ID: <20100604094137.0702daa1.randy.dunlap@oracle.com> (raw)
In-Reply-To: <201006040005.o5405Afw023296@imap1.linux-foundation.org>
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build for CONFIG_PROC_FS not enabled; fixes this build error:
drivers/block/cciss.c:3422: error: implicit declaration of function 'next_command'
Looks like the next_command() function was added at a bad location
in cciss-add-performant-mode-support-for-stars-sirius.patch.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mike Miller <mike.miller@hp.com>
---
drivers/block/cciss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- mmotm-2010-0603-1636.orig/drivers/block/cciss.c
+++ mmotm-2010-0603-1636/drivers/block/cciss.c
@@ -372,8 +372,6 @@ static const char *raid_label[] = { "0",
};
#define RAID_UNKNOWN (sizeof(raid_label) / sizeof(raid_label[0])-1)
-#ifdef CONFIG_PROC_FS
-
static inline u32 next_command(ctlr_info_t *h)
{
u32 a;
@@ -396,6 +394,8 @@ static inline u32 next_command(ctlr_info
return a;
}
+#ifdef CONFIG_PROC_FS
+
/*
* Report information about this controller.
*/
next prev parent reply other threads:[~2010-06-04 16:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-03 23:36 mmotm 2010-06-03-16-36 uploaded akpm
2010-06-04 1:14 ` FUJITA Tomonori
2010-06-04 1:34 ` Andrew Morton
2010-06-04 2:16 ` FUJITA Tomonori
2010-06-04 9:32 ` Michael Büsch
2010-06-04 1:41 ` Dave Young
2010-06-04 1:54 ` Andrew Morton
2010-06-04 2:02 ` Dave Young
2010-06-04 2:10 ` Andrew Morton
2010-06-04 2:13 ` Dave Young
2010-06-04 1:56 ` Andrew Morton
2010-06-04 2:23 ` Valdis.Kletnieks
2010-06-04 16:41 ` Randy Dunlap [this message]
2010-06-04 18:07 ` [PATCH -mmotm] cciss: fix build for CONFIG_PROC_FS=n Miller, Mike (OS Dev)
2010-06-05 12:15 ` mmotm 2010-06-03-16-36 uploaded Stephen Rothwell
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=20100604094137.0702daa1.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.miller@hp.com \
/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
Powered by JetHome