public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: Jiri Kosina <jikos@jikos.cz>
Cc: Soeren Sonnenburg <kernel@nn7.de>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-usb-devel <linux-usb-devel@lists.sourceforge.net>
Subject: Re: [linux-usb-devel] 2.6.20-rc6 pb_fnmode regression
Date: Mon, 29 Jan 2007 13:26:41 +0300	[thread overview]
Message-ID: <20070129102641.GC3375@master.mivlgu.local> (raw)
In-Reply-To: <Pine.LNX.4.64.0701291049190.9448@twin.jikos.cz>

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

On Mon, Jan 29, 2007 at 10:55:48AM +0100, Jiri Kosina wrote:
> Changing module parameter values through sysfs is not a very nice idea, 
> because the change of the value is indeed silent - the driver is not 
> notified in any way, that the value has changed. So the driver should take 
> care of it by itself, which is not a nice thing.

There is module_param_call() - used at least by drivers/md/md.c:

static int get_ro(char *buffer, struct kernel_param *kp)
...
static int set_ro(const char *val, struct kernel_param *kp)
...
module_param_call(start_ro, set_ro, get_ro, NULL, S_IRUSR|S_IWUSR);

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-01-29 10:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-27 13:29 2.6.20-rc6 pb_fnmode regression Soeren Sonnenburg
2007-01-29  9:55 ` Jiri Kosina
2007-01-29 10:26   ` Sergey Vlasov [this message]
2007-01-29 10:32   ` Soeren Sonnenburg
2007-01-29 10:40     ` Jiri Kosina
2007-01-29 11:13       ` Jiri Kosina
2007-01-29 11:24         ` Soeren Sonnenburg
2007-01-29 11:45           ` Jiri Kosina
2007-01-29 15:12             ` Soeren Sonnenburg

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=20070129102641.GC3375@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=jikos@jikos.cz \
    --cc=kernel@nn7.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /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