Staging: media: Add a blank line after declaration
Subsystems (2)
PATCH 1/2 Staging: media: Add a blank line after declaration
This patch fixes checkpatch.pl warning by adding a blank line after declaration for better readability.
--- drivers/staging/media/davinci_vpfe/dm365_isif.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/staging/media/davinci_vpfe/dm365_isif.c +3 -0
@@ -1602,6 +1602,7 @@ isif_pad_get_crop(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh,if (crop->which ==V4L2_SUBDEV_FORMAT_TRY ) {struct v4l2_rect *rect; + rect =v4l2_subdev_get_try_crop (fh,ISIF_PAD_SINK );memcpy (&crop->rect, rect,sizeof (*rect)); }else {
@@ -1991,7 +1992,9 @@ int vpfe_isif_init(struct vpfe_isif_device *isif, struct platform_device *pdev)struct media_entity *me = &sd->entity;static resource_size_t res_len;struct resource *res; +void *__iomem addr; +int status;int i =0 ;
Signature · 1 line
1.9.1
PATCH 2/2 Staging: media: omap24xx: Merge quoted string across lines
This patch fixes a coding style issue by merging a splitted quoted string across lines for better readability.
--- drivers/staging/media/omap24xx/omap24xxcam.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/media/omap24xx/omap24xxcam.c +4 -4
@@ -889,8 +889,8 @@ static int omap24xxcam_sensor_init(struct omap24xxcam_device *cam)omap24xxcam_clock_on (cam); err =omap24xxcam_sensor_if_enable (cam);if (err) { -dev_err (cam->dev,"sensor interface could not be enabled at " -"initialisation, %d\n" , err); +dev_err (cam->dev,"sensor interface could not be enabled at initialisation, %d\n" , + err); cam->sdev =NULL ; goto out; }
@@ -1878,5 +1878,5 @@ module_param(video_nr, int, 0);MODULE_PARM_DESC (video_nr,"Minor number for video device (-1 ==> auto assign)" );module_param (capture_mem, int,0 ); -MODULE_PARM_DESC (capture_mem,"Maximum amount of memory for capture " -"buffers (default 4800kiB)" ); +MODULE_PARM_DESC (capture_mem, +"Maximum amount of memory for capture buffers (default 4800kiB)" );
Signature · 1 line
1.9.1
Greg KH
maintainerRe: [Outreachy kernel] [PATCH 2/2] Staging: media: omap24xx: Merge quoted string across lines
Quoted 7 lines · Somya Anand
This patch fixes a coding style issue by merging a splitted quoted string across lines for better readability.
Signed-off-by Somya Anand <[email protected]>--- drivers/staging/media/omap24xx/omap24xxcam.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
This file isn't even in Linus's tree anymore, please be sure to always work against the latest kernel tree.
thanks,
greg k-h
Quoted 21 lines · Somya Anand
This patch fixes checkpatch.pl warning by adding a blank line after declaration for better readability.
Signed-off-by Somya Anand <[email protected]>--- drivers/staging/media/davinci_vpfe/dm365_isif.c | 3 +++ 1 file changed, 3 insertions(+)drivers/staging/media/davinci_vpfe/dm365_isif.c +1
-0@@ -1602,6 +1602,7 @@ isif_pad_get_crop(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh,if (crop->which ==V4L2_SUBDEV_FORMAT_TRY ) {struct v4l2_rect *rect; + rect =v4l2_subdev_get_try_crop (fh,ISIF_PAD_SINK );memcpy (&crop->rect, rect,sizeof (*rect)); }else {
drivers/staging/media/davinci_vpfe/dm365_isif.c int vpfe_isif_init(struct vpfe_isif_device *isif, struct platform_device *pdev) · line 1998
Quoted 7 lines
drivers/staging/media/davinci_vpfe/dm365_isif.c +2
-0@@ -1991,7 +1992,9 @@ int vpfe_isif_init(struct vpfe_isif_device *isif, struct platform_device *pdev)struct media_entity *me = &sd->entity;static resource_size_t res_len;struct resource *res; +void *__iomem addr; +int status;
This looks like a false positive. These are all declarations.
julia
Quoted 12 lines
drivers/staging/media/davinci_vpfe/dm365_isif.c +0
-1int i =0 ; --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1425310712-16755-1-git-send-email-somyaanand214%40gmail.com.
For more options, visit https://groups.google.com/d/optout.