tree 466e6b78c5966812661b0949d26384698bf68d55
parent 17972cd9b21bca1c98f406fafd00fdd9459f8124
author Bert Wesarg <[EMAIL PROTECTED]> Tue Apr 12 08:26:11 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:26:11 2005

[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]>

 tda9887.c    |    4 ++--
 tuner-core.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Index: drivers/media/video/tda9887.c
===================================================================
--- 68943f50cb9169af63ccdd819b75e9a6320efd0a/drivers/media/video/tda9887.c  
(mode:100644 sha1:fef3fbeb8a5634c99b4bc32114e0b4f1815d38ae)
+++ 466e6b78c5966812661b0949d26384698bf68d55/drivers/media/video/tda9887.c  
(mode:100644 sha1:64b496c48d9babf8f96611bf8fdf0744ebb18a4b)
@@ -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
===================================================================
--- 68943f50cb9169af63ccdd819b75e9a6320efd0a/drivers/media/video/tuner-core.c  
(mode:100644 sha1:9dc410daa96fc20724b6521e4139d87083996cfa)
+++ 466e6b78c5966812661b0949d26384698bf68d55/drivers/media/video/tuner-core.c  
(mode:100644 sha1:1dd7748b28c748ddfd427f6d59a17b9f5252080c)
@@ -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

Reply via email to