[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20191012151805.17988-1-jbi.octave@gmail.com>
Date: Sat, 12 Oct 2019 16:18:05 +0100
From: Jules Irenge <jbi.octave@...il.com>
To: outreachy-kernel@...glegroups.com
Cc: gregkh@...uxfoundation.org, eric@...olt.net, wahrenst@....net,
linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
linux-arm-kernel@...ts.infradead.org,
linux-rpi-kernel@...ts.infradead.org, daniela.mormocea@...il.com,
dave.stevenson@...pberrypi.org, hverkuil-cisco@...all.nl,
mchehab+samsung@...nel.org, bcm-kernel-feedback-list@...adcom.com,
sbranden@...adcom.com, rjui@...adcom.com, f.fainelli@...il.com,
Jules Irenge <jbi.octave@...il.com>
Subject: [PATCH v2] staging: vc04_services: place the AND operator at the end of the previous line
Place the AND logical operator at the end of the previous line;
to fix warning of "Logical continuations should be on the previous line".
Issue detected by checkpatch tool.
Signed-off-by: Jules Irenge <jbi.octave@...il.com>
---
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
index d4d1e44b16b2..beb6a0063bb8 100644
--- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
+++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
@@ -1090,8 +1090,8 @@ static int mmal_setup_components(struct bm2835_mmal_dev *dev,
ret = vchiq_mmal_port_set_format(dev->instance, camera_port);
- if (!ret
- && camera_port ==
+ if (!ret &&
+ camera_port ==
&dev->component[COMP_CAMERA]->output[CAM_PORT_VIDEO]) {
bool overlay_enabled =
!!dev->component[COMP_PREVIEW]->enabled;
--
2.21.0
Powered by blists - more mailing lists