public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Jules Irenge <jbi.octave@gmail•com>
To: outreachy-kernel@googlegroups•com
Cc: devel@driverdev•osuosl.org, Jules Irenge <jbi.octave@gmail•com>,
	f.fainelli@gmail•com, sbranden@broadcom•com,
	mchehab+samsung@kernel•org, gregkh@linuxfoundation•org,
	linux-kernel@vger•kernel.org, eric@anholt•net,
	daniela.mormocea@gmail•com,
	bcm-kernel-feedback-list@broadcom•com, wahrenst@gmx•net,
	dave.stevenson@raspberrypi•org, rjui@broadcom•com,
	hverkuil-cisco@xs4all•nl, linux-arm-kernel@lists•infradead.org,
	linux-rpi-kernel@lists•infradead.org
Subject: [PATCH v2] staging: vc04_services: place the AND operator at the end of the previous line
Date: Sat, 12 Oct 2019 16:18:05 +0100	[thread overview]
Message-ID: <20191012151805.17988-1-jbi.octave@gmail.com> (raw)

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@gmail•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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

                 reply	other threads:[~2019-10-12 15:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191012151805.17988-1-jbi.octave@gmail.com \
    --to=jbi.octave@gmail$(echo .)com \
    --cc=bcm-kernel-feedback-list@broadcom$(echo .)com \
    --cc=daniela.mormocea@gmail$(echo .)com \
    --cc=dave.stevenson@raspberrypi$(echo .)org \
    --cc=devel@driverdev$(echo .)osuosl.org \
    --cc=eric@anholt$(echo .)net \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=hverkuil-cisco@xs4all$(echo .)nl \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-rpi-kernel@lists$(echo .)infradead.org \
    --cc=mchehab+samsung@kernel$(echo .)org \
    --cc=outreachy-kernel@googlegroups$(echo .)com \
    --cc=rjui@broadcom$(echo .)com \
    --cc=sbranden@broadcom$(echo .)com \
    --cc=wahrenst@gmx$(echo .)net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox