From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Swivel <swivel@null.pharm.uic.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: small bug/oversight found in 2.4.3
Date: Sun, 15 Apr 2001 04:31:59 -0400 [thread overview]
Message-ID: <3AD95C7F.51E07B36@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0104150318460.32474-100000@null.cc.uic.edu>
Swivel wrote:
>
> drivers/char/char.c, line 247
> create_proc_read_entry() is called regardless of the definition of
> CONFIG_PROC_FS, simply wrap call with #ifdef CONFIG_PROC_FS and #endif.
create_proc_read_entry exists, as a static inline no-op, without
CONFIG_PROC_FS.
Typically you want to change the driver-local function passed to
create_proc_read_entry to be a static inline no-op for the
!CONFIG_PROC_FS case.
--
Jeff Garzik | "Give a man a fish, and he eats for a day. Teach a
Building 1024 | man to fish, and a US Navy submarine will make sure
MandrakeSoft | he's never hungry again." -- Chris Neufeld
next prev parent reply other threads:[~2001-04-15 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-15 8:23 Swivel
2001-04-15 8:31 ` Jeff Garzik [this message]
2001-04-15 8:47 ` Alexander Viro
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=3AD95C7F.51E07B36@mandrakesoft.com \
--to=jgarzik@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=swivel@null.pharm.uic.edu \
/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
all inboxes | Powered by JetHome®