Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp809643pxf; Thu, 1 Apr 2021 14:17:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVkubgH7Ks+kFXQvGmt42k0BqK6YyMedNbqhiOpV3P6jj9PPlbFwbOOOipMACP7admbX/9 X-Received: by 2002:aa7:c9c8:: with SMTP id i8mr11858782edt.193.1617311842278; Thu, 01 Apr 2021 14:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617311842; cv=none; d=google.com; s=arc-20160816; b=ugBOnV38ptLhh2gc8N+5p/W700lnC4fxQrzK1epKCwNOhkgwu4XTMX/Fajr+j+grF/ fGjRFIpOn9fuuJWlWO/ZZzOcVAI4cFSg6Wf7bpesCC3QgV94gXrZT0449dAYxRQ+Ec7I A5LWGHzi9Dne/DIm/JUENJ99S1w6hSHT7Z/2VVwUNuulH8Pa8JlrEnbNocC610akCMIb OcSEMgCWRmKoYfSuvdgugA5/SuId5hkJxyaRWNmODWSbJRPQi7Y8WUenUHG0sJS4+NGg A4nlR3G2J73HSKl4zXBRgiDnqIYG1kZ7c+v3qIrHzJu6gYQYYEFDOV2YIwMyqluvxccO toTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:ironport-hdrordr; bh=LmvFq9LAxtMoJLXbx3mCO2zPhk+lTGbYjyACbAnya+M=; b=mv08onPABhkgWCw2d6nIceh8unNU5cJMfsTVnlYRVFNE5XnAyhtsjmbbchjYPSSXxi RXXwOV5sWtDXQqj5wNlufO8+bxw8DbDX/4O1a9o/n19BQn1p/g4tVz1Xq0uOeOP5EsKe VeJIXxFXJcsrJpFPUeynYEC0ipwH0U9GuQYOkPS9vlcFlgCSIByZQN3jXpBoHiKWs6z2 xfqMX8UINpGtdnujWgYMFjQJLFs5gtiFbQLSVakb6dlcPSOgddKMjGw4XS9I+u/r55rY p30QE8mUU2CoHXp9Xy49z7XIpW59kM+wTNOWzpzHiH3C7aJYrOJ6v48VsePkiTl8Fx8x FhWQ== ARC-Authentication-Results: i=1; mx.google.com; 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 l23si5002074edv.176.2021.04.01.14.16.59; Thu, 01 Apr 2021 14:17:22 -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; 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 S234506AbhDAVQG (ORCPT + 99 others); Thu, 1 Apr 2021 17:16:06 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:38738 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234406AbhDAVQF (ORCPT ); Thu, 1 Apr 2021 17:16:05 -0400 IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AhvtUpagYSEDpkH6znjKDNKNDPHBQX4lx3DAb?= =?us-ascii?q?vn1ZSRFFG/Gwv9yynfgdyB//gCsQXnZlotybJKycWxrnmKJdy48XILukQU3ao2?= =?us-ascii?q?OuNo5v9s/PxDfnFi34+IdmpMBdWoJ5D8D9CkU/sNbi7GCDYrId6fSO7azAv5a9?= =?us-ascii?q?815DVgdvApsB0y5cKiK2VnJ7XxNHA51RLvuhz+5KvSCpd3hSTunTPAh9Y8H5q9?= =?us-ascii?q?fGlI3rbHc9bnZNgmbhsRqS5LT3EweV01Mlahwn+9sf2FPIjhDj4eGbu+y7oyWs?= =?us-ascii?q?sVP71Yhcm9fq17J4damxo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ogmQUP4SApXBjkr68?= =?us-ascii?q?G81RaTljrHP24h3I8SMuvUC6lmVarS1HOrIIihiLwcH/RJ4ZppCdzouugXe+SZ?= =?us-ascii?q?fAOeMTP+BcMxsjbl0UoNCW1Rkj0JgPno0Brq4CyEx3Y5G+PVO0kjbaocOcug42?= =?us-ascii?q?/tQOuo3J11gckuh/a5Nnz8Z7e9uOrqRg8GDimWh2G4T+sl888J+Y0zsaZ+BJnd?= =?us-ascii?q?X3/j0mpd0BA3Mcfzkwc/Tc1Akc38E74qW/ZXXSRTumcNvpCoCmAAtwTtGO8wfV?= =?us-ascii?q?03lRbgTqy0youNjYBqO1GLoQv7BEKW/CJc9crURifr789hN4sAZUBtLHUm4Hts?= =?us-ascii?q?/Om+Z5TdJQWjeeZE5ke7OBaGAcNgYZnAPbUbtRBh5d6U28eRairjwQjV1AELXJ?= =?us-ascii?q?5mwiKCQcmoBhiLFvMN29umOU6Uiq/vxMKolj/4RX+abEsf7Lc1BHA4X4BkkTcr?= =?us-ascii?q?i40l2jWzTKvXrkopn0BF2CpqjFL3xYSqiV2rXn1uAEn+mZVZXT5aN1CSlsTb+e?= =?us-ascii?q?2k1HDwiQI1oaXrJQN3ZdFBG98ZU47tCTxhQPJgz4KVww=3D=3D?= X-IronPort-AV: E=Sophos;i="5.81,296,1610406000"; d="scan'208";a="501210527" Received: from 173.121.68.85.rev.sfr.net (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2021 23:16:04 +0200 Date: Thu, 1 Apr 2021 23:16:03 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Beatriz Martins de Carvalho cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: Re: [Outreachy kernel] [PATCH] staging: emxx_udc: Ending line with argument In-Reply-To: <20210401195457.24512-1-martinsdecarvalhobeatriz@gmail.com> Message-ID: References: <20210401195457.24512-1-martinsdecarvalhobeatriz@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Apr 2021, Beatriz Martins de Carvalho wrote: > Cleans up check of "Lines should not end with a '('" > with argument present in next line in file emxx_udc.c The coding style documentation encourages remaining within 80 characters. I'm not sure that the ( warning is worth increading the excess beyond 80 characters (or introducing it in the last case). julia > > Signed-off-by: Beatriz Martins de Carvalho > --- > drivers/staging/emxx_udc/emxx_udc.c | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-) > > diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c > index 741147a4f0fe..20f53cf6e20f 100644 > --- a/drivers/staging/emxx_udc/emxx_udc.c > +++ b/drivers/staging/emxx_udc/emxx_udc.c > @@ -1073,9 +1073,8 @@ static int _nbu2ss_epn_in_pio(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, > i_word_length = length / sizeof(u32); > if (i_word_length > 0) { > for (i = 0; i < i_word_length; i++) { > - _nbu2ss_writel( > - &preg->EP_REGS[ep->epnum - 1].EP_WRITE, > - p_buf_32->dw); > + _nbu2ss_writel(&preg->EP_REGS[ep->epnum - 1].EP_WRITE, > + p_buf_32->dw); > > p_buf_32++; > } > @@ -1225,8 +1224,7 @@ static void _nbu2ss_restert_transfer(struct nbu2ss_ep *ep) > return; > > if (ep->epnum > 0) { > - length = _nbu2ss_readl( > - &ep->udc->p_regs->EP_REGS[ep->epnum - 1].EP_LEN_DCNT); > + length = _nbu2ss_readl(&ep->udc->p_regs->EP_REGS[ep->epnum - 1].EP_LEN_DCNT); > > length &= EPN_LDATA; > if (length < ep->ep.maxpacket) > @@ -1462,8 +1460,7 @@ static void _nbu2ss_epn_set_stall(struct nbu2ss_udc *udc, > for (limit_cnt = 0 > ; limit_cnt < IN_DATA_EMPTY_COUNT > ; limit_cnt++) { > - regdata = _nbu2ss_readl( > - &preg->EP_REGS[ep->epnum - 1].EP_STATUS); > + regdata = _nbu2ss_readl(&preg->EP_REGS[ep->epnum - 1].EP_STATUS); > > if ((regdata & EPN_IN_DATA) == 0) > break; > -- > 2.25.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 outreachy-kernel+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20210401195457.24512-1-martinsdecarvalhobeatriz%40gmail.com. >