Skip to contentSkip to conversation

Define parameter description after the parameter itself.

PATCH In review Hans Petter Selasky 2 participants 2 messages May 23, 2011 – May 26, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Define parameter description after the parameter itself.

--HPS

From 2f5378e5c5cc5528473f77321879fb075005d3dd Mon Sep 17 00:00:00 2001
From: Hans Petter Selasky <[email protected]>
Date: Mon, 23 May 2011 13:26:04 +0200
Subject: [PATCH] Define parameter description after the parameter itself.

---
 drivers/media/video/tda7432.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/tda7432.c +1 -1
index 3941f95..398b9fb 100644
@@ -50,8 +50,8 @@ static int loudness; /* disable loudness by default */
 static int debug;	 /* insmod parameter */
 module_param(debug, int, S_IRUGO | S_IWUSR);
 module_param(loudness, int, S_IRUGO);
-MODULE_PARM_DESC(maxvol,"Set maximium volume to +20db (0), default is 0db(1)");
 module_param(maxvol, int, S_IRUGO | S_IWUSR);
+MODULE_PARM_DESC(maxvol,"Set maximium volume to +20db (0), default is 0db(1)");
 
 
 
Signature · 1 line
1.7.1.1
#1 lore raw

Em 23-05-2011 08:27, Hans Petter Selasky escreveu:

Quoted 21 lines

--HPS

dvb-usb-0008.patch

From 2f5378e5c5cc5528473f77321879fb075005d3dd Mon Sep 17 00:00:00 2001
From: Hans Petter Selasky <[email protected]>
Date: Mon, 23 May 2011 13:26:04 +0200
Subject: [PATCH] Define parameter description after the parameter itself.

---
 drivers/media/video/tda7432.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/tda7432.c +0 -0
index 3941f95..398b9fb 100644

drivers/media/video/tda7432.c static int loudness; /* disable loudness by default */ · line 54

Quoted 6 lines
drivers/media/video/tda7432.c +1 -1
@@ -50,8 +50,8 @@ static int loudness; /* disable loudness by default */
 static int debug;	 /* insmod parameter */
 module_param(debug, int, S_IRUGO | S_IWUSR);
 module_param(loudness, int, S_IRUGO);
-MODULE_PARM_DESC(maxvol,"Set maximium volume to +20db (0), default is 0db(1)");
 module_param(maxvol, int, S_IRUGO | S_IWUSR);
+MODULE_PARM_DESC(maxvol,"Set maximium volume to +20db (0), default is 0db(1)");

Ok, but this doesn't change the fact that debug and loudness aren't commented. Could you please also add descriptions for those parameters where no descriptions were provided?

Thanks!
Mauro.