tree 6e95047664d5d5e2006a753449122cd6e7e32002
parent 31143a12044caa3521edafd736e3bc18c098d2fd
author Bert Wesarg <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:43 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:43 -0700
[PATCH] fix module_param_string() calls
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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
media/video/tda9887.c | 4 ++--
media/video/tuner-core.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Index: drivers/media/video/tda9887.c
===================================================================
--- b9adfc09908b0a7b6abe041f865cf335eac03056/drivers/media/video/tda9887.c
(mode:100644 sha1:d9c3169f9a048e205c9200d07e55b0c7f40e4a1f)
+++ 6e95047664d5d5e2006a753449122cd6e7e32002/drivers/media/video/tda9887.c
(mode:100644 sha1:debef1910c3741077b1b3e049f8163c866c92fdd)
@@ -478,9 +478,9 @@
/* ---------------------------------------------------------------------- */
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)
{
Index: drivers/media/video/tuner-core.c
===================================================================
--- b9adfc09908b0a7b6abe041f865cf335eac03056/drivers/media/video/tuner-core.c
(mode:100644 sha1:eded776a23129421860bb8b61c7ca1f836d5f017)
+++ 6e95047664d5d5e2006a753449122cd6e7e32002/drivers/media/video/tuner-core.c
(mode:100644 sha1:881a0539fc1704c04be38a455a87918d1315dd84)
@@ -162,7 +162,7 @@
}
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)
{
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html