Skip to contentSkip to conversation

Staging: media: davinci_vpfe: fix over 80 characters coding style issue.

PATCH In review Junsu Shin 4 participants 6 messages Aug 7, 2015 – Aug 8, 2015

Subsystems (2)
lore
Share & tools
lore

Junsu Shin

author
#0 lore raw

PATCH 1/1 Staging: media: davinci_vpfe: fix over 80 characters coding style issue.

This is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by checkpatch.pl.

---
 drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/media/davinci_vpfe/dm365_ipipe.c +3 -2
index 1bbb90c..57cd274 100644
@@ -1536,8 +1536,9 @@ ipipe_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
  * @fse: pointer to v4l2_subdev_frame_size_enum structure.
  */
 static int
-ipipe_enum_frame_size(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
-			  struct v4l2_subdev_frame_size_enum *fse)
+ipipe_enum_frame_size(struct v4l2_subdev *sd,
+			struct v4l2_subdev_pad_config *cfg,
+			struct v4l2_subdev_frame_size_enum *fse)
 {
 	struct vpfe_ipipe_device *ipipe = v4l2_get_subdevdata(sd);
 	struct v4l2_mbus_framefmt format;
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Junsu Shin

This is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by checkpatch.pl.

please do not use whitespace before Signed-off-by: line.

Quoted 10 lines
---
 drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/media/davinci_vpfe/dm365_ipipe.c +0 -0
index 1bbb90c..57cd274 100644

drivers/staging/media/davinci_vpfe/dm365_ipipe.c ipipe_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, · line 1541

Quoted 8 lines
drivers/staging/media/davinci_vpfe/dm365_ipipe.c +3 -2
@@ -1536,8 +1536,9 @@ ipipe_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
  * @fse: pointer to v4l2_subdev_frame_size_enum structure.
  */
 static int
-ipipe_enum_frame_size(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
-			  struct v4l2_subdev_frame_size_enum *fse)
+ipipe_enum_frame_size(struct v4l2_subdev *sd,
+			struct v4l2_subdev_pad_config *cfg,
+			struct v4l2_subdev_frame_size_enum *fse)

since you are modifying this line, please fix up the indention also.

regards
sudip

author
#2 lore raw
Quoted 24 lines · Sudip Mukherjee
Quoted 2 lines · Junsu Shin

This is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by checkpatch.pl.

please do not use whitespace before Signed-off-by: line.

Quoted 10 lines
---
 drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/media/davinci_vpfe/dm365_ipipe.c +0 -0
index 1bbb90c..57cd274 100644

drivers/staging/media/davinci_vpfe/dm365_ipipe.c ipipe_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, · line 1541

Quoted 8 lines
drivers/staging/media/davinci_vpfe/dm365_ipipe.c +3 -2
@@ -1536,8 +1536,9 @@ ipipe_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
  * @fse: pointer to v4l2_subdev_frame_size_enum structure.
  */
 static int
-ipipe_enum_frame_size(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
-			  struct v4l2_subdev_frame_size_enum *fse)
+ipipe_enum_frame_size(struct v4l2_subdev *sd,
+			struct v4l2_subdev_pad_config *cfg,
+			struct v4l2_subdev_frame_size_enum *fse)

since you are modifying this line, please fix up the indention also.

Quoted 3 lines

regards
sudip

Thanks for pointing it out.
Again, this is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by the script. This time I fixed up the indentation issue claimed in the previous one.

---
 drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/media/davinci_vpfe/dm365_ipipe.c +3 -2
index 1bbb90c..a474adf 100644
@@ -1536,8 +1536,9 @@ ipipe_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
  * @fse: pointer to v4l2_subdev_frame_size_enum structure.
  */
 static int
-ipipe_enum_frame_size(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
-			  struct v4l2_subdev_frame_size_enum *fse)
+ipipe_enum_frame_size(struct v4l2_subdev *sd,
+		       struct v4l2_subdev_pad_config *cfg,
+		       struct v4l2_subdev_frame_size_enum *fse)
 {
 	struct vpfe_ipipe_device *ipipe = v4l2_get_subdevdata(sd);
 	struct v4l2_mbus_framefmt format;
Signature · 1 line
1.9.1
#3 lore raw
Quoted 4 lines · Junsu Shin
Quoted 2 lines · Sudip Mukherjee

On Thu, Aug 06, 2015 at 09:55:54PM -0500, Junsu Shin wrote:

<snip>

Quoted 6 lines

Thanks for pointing it out.
Again, this is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by the script. This time I fixed up the indentation issue claimed in the previous one.

---

Greg will not accept patches like this way. please send it as v2.

regards
sudip

maintainer
#4 lore raw
Quoted 5 lines · Sudip Mukherjee
Quoted 4 lines · Junsu Shin
Quoted 2 lines · Sudip Mukherjee

On Thu, Aug 06, 2015 at 09:55:54PM -0500, Junsu Shin wrote:

Quoted 8 lines

<snip>

Quoted 6 lines

Thanks for pointing it out.
Again, this is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by the script. This time I fixed up the indentation issue claimed in the previous one.

---

Greg will not accept patches like this way. please send it as v2.

Greg does not accept drivers/staging/media/* patches, but anyway, no one will accept a patch in this format, as you say.

thanks,

greg k-h

#5 lore raw
Quoted 1 line · Greg KH

Greg does not accept drivers/staging/media/* patches,

You could change

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index 111a6b2..089c458 100644
@@ -9742,6 +9742,7 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
 L:	[email protected]
 S:	Supported
 F:	drivers/staging/
+X:	drivers/staging/media/
 
 STAGING - COMEDI
 M:	Ian Abbott <[email protected]>