Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp703551pxf; Thu, 1 Apr 2021 11:18:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9fccEu5HMcuHroCpryBLI/ow2anJZhGMwtQajQzUxFDc1OT2tsSMG/2Dh19HEqYLZfeET X-Received: by 2002:a92:d4d0:: with SMTP id o16mr8089229ilm.120.1617301086526; Thu, 01 Apr 2021 11:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617301086; cv=none; d=google.com; s=arc-20160816; b=WOeqo1rX5fTJj2d0Ok4fsnpEogijHwTw02raGiqMqawo9l1lqGjkLmoK02CB6RR2g4 QEkUlr5mLLGJbnvLpn5CighXr/K1HVwLMcb3qjNax0dKhNUaMVggxFyrNrw41w4G2oHT VazMFlR5ZsjNUD2cUkzLRkEIDGDpqTAAy2WuS88bbQgg0iEyLTWxGcXl1N2xTmanHBaq VgPBSDLylJSCLejuFg9T/Nn2lZFQE6GO/xqTMzM3NN5iaSrH0Q5AdmlxMC0TR3vSU7os cMR94n6R+8ZY9RaR4jeYQ4+lfdkwqMDQO//QxQqEgsiFLglZE+wYna/E7+MUCRLCARGF UMrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Kha/E3uhoOiUrD0C/aeRnYYOJ8L7PhbQTFEePWXTQ9o=; b=NBSLfNLYaq/mvYRks1PNgJ8/7UQIwLChWA71wDc3s0S7CQrsLgCVnPIMJ76MgSBuFK NtCjMgtc3WJPWX5p/8ODbqcQw+4kvD+EwcN85h9X3q3cWOFL48v5oQLsEj3v2XAf1OGG IoMgxsfR0uhK9BeJq2fPl2YtTQnqxxFNvt/NEPcxYbDVQy3IjMZksBZwqpjqIBo/IUHE +li3DSrC8chWQ6MlZ86yqOtkIFiU3otweOml5Vu/BB0dc4XnPLkX3UTUOJOjfBrlFjqi Vc5xZHgaqGoJbclNB9NsHvdfkavwIkMTQFCZUHJ4HC6In5Q4X65CEIVwywnqg5lU5J6c 9HGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=GiF2UwUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si4924882iot.31.2021.04.01.11.17.53; Thu, 01 Apr 2021 11:18:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=GiF2UwUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239514AbhDASQf (ORCPT + 99 others); Thu, 1 Apr 2021 14:16:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236793AbhDAR6k (ORCPT ); Thu, 1 Apr 2021 13:58:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CC77C0225A8; Thu, 1 Apr 2021 08:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Kha/E3uhoOiUrD0C/aeRnYYOJ8L7PhbQTFEePWXTQ9o=; b=GiF2UwUHIZnHkEkOlcxLLgluR7 syNox8h+RaBbuIUiOBghBF3CDGQNuaIbRzy7mWDoxwenL11iVarDDi6MmiRxTFuHb4kP13LZvn2f6 35thsXdGlyCG8MGNauINAug1BzBEFT4pbD4wIwaSunIPgfbfA8chATkAqldy2DO/PybrFImdLg0wO mNCslbxOAuh01cjc+scg0jSBhcVB/IKtD58/f7a4sI5WIyiXdtrZHuStvqjyjgZ+eAffpU+zYNZVS Hu1zZPxQtOxOmhNtAXhJ8AFMfHi/hVJ78H7v36FIrf0oQO/kkb9wcbdYgR1IsDDx2zA9fDFxDwcsV kRF2tr4g==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lRzFU-006IH7-5h; Thu, 01 Apr 2021 15:28:46 +0000 Date: Thu, 1 Apr 2021 16:28:44 +0100 From: Matthew Wilcox To: Beatriz Martins de Carvalho Cc: laurent.pinchart@ideasonboard.com, mchehab@kernel.org, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: Re: [Outreachy kernel] [PATCH 1/2] staging: media: omap4iss: Ending line with argument Message-ID: <20210401152844.GF351017@casper.infradead.org> References: <441d27060ff6477d0ad418f41e194b96373c1f7f.1617287509.git.martinsdecarvalhobeatriz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <441d27060ff6477d0ad418f41e194b96373c1f7f.1617287509.git.martinsdecarvalhobeatriz@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 01, 2021 at 04:07:38PM +0100, Beatriz Martins de Carvalho wrote: > diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c > index dae9073e7d3c..e8f724dbf810 100644 > --- a/drivers/staging/media/omap4iss/iss.c > +++ b/drivers/staging/media/omap4iss/iss.c > @@ -559,9 +559,10 @@ static int iss_reset(struct iss_device *iss) > iss_reg_set(iss, OMAP4_ISS_MEM_TOP, ISS_HL_SYSCONFIG, > ISS_HL_SYSCONFIG_SOFTRESET); > > - timeout = iss_poll_condition_timeout( > - !(iss_reg_read(iss, OMAP4_ISS_MEM_TOP, ISS_HL_SYSCONFIG) & > - ISS_HL_SYSCONFIG_SOFTRESET), 1000, 10, 100); > + timeout = iss_poll_condition_timeout(!(iss_reg_read(iss, > + OMAP4_ISS_MEM_TOP, ISS_HL_SYSCONFIG) > + & ISS_HL_SYSCONFIG_SOFTRESET), > + 1000, 10, 100); This is not a readability improvment. I would factor it out into its own function.