linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	axboe@kernel.dk
Subject: [PATCH] cciss: fix build for PROC_FS disabled
Date: Tue, 16 Nov 2010 17:00:05 -0800	[thread overview]
Message-ID: <20101116170005.2646f4fb.randy.dunlap@oracle.com> (raw)
In-Reply-To: <AANLkTimYevUOSxDm+nGq_ctPEFp_E2zJR7rNGvUi2fWY@mail.gmail.com>

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix cciss driver for CONFIG_PROC_FS not enabled:

drivers/block/cciss.c:4929: error: 'proc_cciss' undeclared (first use in this function)

The recent patch (which I acked) did not handle this configuration.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/block/cciss.c |    2 ++
 1 file changed, 2 insertions(+)

--- lnx-2637-rc2.orig/drivers/block/cciss.c
+++ lnx-2637-rc2/drivers/block/cciss.c
@@ -4926,8 +4926,10 @@ static void __exit cciss_cleanup(void)
 		}
 	}
 	kthread_stop(cciss_scan_thread);
+#ifdef CONFIG_PROC_FS
 	if (proc_cciss)
 		remove_proc_entry("driver/cciss", NULL);
+#endif
 	bus_unregister(&cciss_bus_type);
 }
 

  parent reply	other threads:[~2010-11-17  1:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16  3:12 Linux 2.6.37-rc2 Linus Torvalds
2010-11-16 20:35 ` Zimny Lech
2010-11-17  0:59 ` [PATCH] acpi: fix acpi/video.h error and warning when PM is not enabled Randy Dunlap
2010-11-17  1:29   ` Zhang Rui
2010-11-17 16:06     ` Randy Dunlap
2010-11-17  1:00 ` Randy Dunlap [this message]
2010-11-17  2:56   ` [PATCH] cciss: fix build for PROC_FS disabled Linus Torvalds
2010-11-17 10:58     ` Jens Axboe

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=20101116170005.2646f4fb.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).