Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 975e046c authored by Bert Wesarg's avatar Bert Wesarg Committed by Linus Torvalds
Browse files

[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: default avatarBert Wesarg <wesarg@informatik.uni-halle.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 31143a12
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -478,9 +478,9 @@ static int tda9887_set_pinnacle(struct tda9887 *t, char *buf)
/* ---------------------------------------------------------------------- */

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)
{
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ static void set_type(struct i2c_client *c, unsigned int type)
}

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)
{