Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1643726
| From | Manny Vindiola <mannyv@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Staging: media: fix missing blank line coding style issue in atomisp_tpg.c |
| Date | 2017-05-18 03:50 +0200 |
| Message-ID | <tIiJH-2DZ-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This is a patch to the atomisp_tpg.c file that fixes up a missing
blank line warning found by the checkpatch.pl tool
Signed-off-by: Manny Vindiola <mannyv@gmail.com>
---
drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c
index 996d1bd..48b9604 100644
--- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c
+++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_tpg.c
@@ -56,6 +56,7 @@ static int tpg_set_fmt(struct v4l2_subdev *sd,
struct v4l2_subdev_format *format)
{
struct v4l2_mbus_framefmt *fmt = &format->format;
+
if (format->pad)
return -EINVAL;
/* only raw8 grbg is supported by TPG */
--
2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] Staging: media: fix missing blank line coding style issue in atomisp_tpg.c Manny Vindiola <mannyv@gmail.com> - 2017-05-18 03:50 +0200
Re: [PATCH] Staging: media: fix missing blank line coding style issue in atomisp_tpg.c Alan Cox <alan@linux.intel.com> - 2017-05-18 18:40 +0200
Re: [PATCH] Staging: media: fix missing blank line coding style issue in atomisp_tpg.c Greg KH <gregkh@linuxfoundation.org> - 2017-05-18 22:50 +0200
csiph-web