From: akpm@osdl.org
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org,
wesarg@informatik.uni-halle.de
Subject: [patch 127/198] fix module_param_string() calls
Date: Tue, 12 Apr 2005 03:32:33 -0700 [thread overview]
Message-ID: <200504121032.j3CAWdfE005645@shell0.pdx.osdl.net> (raw)
From: Bert Wesarg <wesarg@informatik.uni-halle.de>
This patch fix 3 calls to module_param_string() in
driver/media/video/tuner-core.c and drivers/media/video/tda9887.c. In all
three places, the len and the perm parameter was switched.
Signed-off-by: Bert Wesarg <wesarg@informatik.uni-halle.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
25-akpm/drivers/media/video/tda9887.c | 4 ++--
25-akpm/drivers/media/video/tuner-core.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff -puN drivers/media/video/tda9887.c~fix-module_param_string-calls drivers/media/video/tda9887.c
--- 25/drivers/media/video/tda9887.c~fix-module_param_string-calls 2005-04-12 03:21:34.030963408 -0700
+++ 25-akpm/drivers/media/video/tda9887.c 2005-04-12 03:21:34.035962648 -0700
@@ -478,9 +478,9 @@ static int tda9887_set_pinnacle(struct t
/* ---------------------------------------------------------------------- */
static char pal[] = "-";
-module_param_string(pal, pal, 0644, sizeof(pal));
+module_param_string(pal, pal, sizeof(pal), 0644);
static char secam[] = "-";
-module_param_string(secam, secam, 0644, sizeof(secam));
+module_param_string(secam, secam, sizeof(secam), 0644);
static int tda9887_fixup_std(struct tda9887 *t)
{
diff -puN drivers/media/video/tuner-core.c~fix-module_param_string-calls drivers/media/video/tuner-core.c
--- 25/drivers/media/video/tuner-core.c~fix-module_param_string-calls 2005-04-12 03:21:34.031963256 -0700
+++ 25-akpm/drivers/media/video/tuner-core.c 2005-04-12 03:21:34.036962496 -0700
@@ -162,7 +162,7 @@ static void set_type(struct i2c_client *
}
static char pal[] = "-";
-module_param_string(pal, pal, 0644, sizeof(pal));
+module_param_string(pal, pal, sizeof(pal), 0644);
static int tuner_fixup_std(struct tuner *t)
{
_
reply other threads:[~2005-04-12 18:53 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=200504121032.j3CAWdfE005645@shell0.pdx.osdl.net \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=wesarg@informatik.uni-halle.de \
/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®