Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp373142pxf; Wed, 7 Apr 2021 01:23:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5120QmgnGRKHLYCFxK7PRlkqbXOvK8oydfVZcmIJeJh4axQUQ9aJhltcZ9v7AJhvqTnVp X-Received: by 2002:a05:6638:606:: with SMTP id g6mr2365610jar.52.1617783821669; Wed, 07 Apr 2021 01:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617783821; cv=none; d=google.com; s=arc-20160816; b=WLmBFvzfvoHsFARErghiWa4Uw+YI9Xgt3lci8ojes8ty5s2gPe7OpHf9jSdcoHB8fW 5tIhahuBjCnuViaYwRB7/zB/vV20kgxhcS0uwoktx+ZI27KFF0+SyF+cLi/OwXmxnnJ9 lfrozKGYqyS+Ad5xxpjpU8ZVhFuWXFvevwI86zXzMTReMGij7xyLUtgVojARlCrwox0y codPRGvzexe4As+c2y2rn2NNQ1GXDxIApNaJs/KWyeZKEcxXUtQ1w/UUzTmzLruNkw4o 8M2mEagUGDlBQ8yx+TQmxqH6eQPnL5LOKHOUVg/JCCWCFN6G4qGNXRszAbhD1MPv0r2j tsAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8S3Uh23H+gQhsf7YASK94vXEdzHi8M0NhOcwtIIfD7A=; b=Ti4fB/MiNpFvJRslg6SWDFliLVO/2Rd3AihcjanjKlLlbEYiL935M2Y9gktDIukkMS MqymQ3aJriZXHHvPWvfXzhezxzxEfOYtoXrNUuUMuowwMbfOUPMcF3mAP+MPHBZrRrUr i/lumyOriDdSE6CaTro67oZtyNwOJsRxMO4ZA4p+hTkGjeFc6CJ2KWt/sDMHuqQMZO1m CX/Hb6UDvuGsxwLw46Kv+AVFgOe5gSSEJJ88X3vkgkhQy2ILlJkFTdMl6Z4uO54fyuqb DDpqFSwWu3q2kUPLBMsTb6lNsIW7ftWLjMon+ATbrYOX5GreBj+Nr34Kn9RqMmTNV/e5 /PAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K1jhGkT0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z11si9205107ioq.81.2021.04.07.01.23.29; Wed, 07 Apr 2021 01:23:41 -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=@gmail.com header.s=20161025 header.b=K1jhGkT0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241284AbhDFTe4 (ORCPT + 99 others); Tue, 6 Apr 2021 15:34:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233527AbhDFTez (ORCPT ); Tue, 6 Apr 2021 15:34:55 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ACD4C06174A for ; Tue, 6 Apr 2021 12:34:47 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id i18so11969891wrm.5 for ; Tue, 06 Apr 2021 12:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8S3Uh23H+gQhsf7YASK94vXEdzHi8M0NhOcwtIIfD7A=; b=K1jhGkT0rQRrxYrdUccc9LKWjwtNtE9JBvnSETUmCSElTHz3NOMDx9VPkZFkQy2V3A CUvcwCNOaHGF6nFo9RaP8gIvxfiu+K9v2Ag/EaR3c9+GdJV21TX0oREV0piWy6RLVBvn evaQ5igK6kZvhfi0Dn7DSZYTP/pF0x6twRofcg0OqKpQ0r/uaFe63z/ZWeVMkr/oviF2 TYPkZjPba4L358UAql88B6lSPqyq2FPTNyhwHN2jAKLQmiu8HN1Tyrkk18SQHEUWhz/J ugkzJOXqhPH23SbPD0Iezga5dB6M2Fk48fMh4ThAQq4tMx7xH0oW0oSZQYIa8YDlNway aKvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8S3Uh23H+gQhsf7YASK94vXEdzHi8M0NhOcwtIIfD7A=; b=HEsE806+AIoW2/awj669/zgnwYVeYoClAfzl9S8SG2o9mfyRLRiBM6mXqYWSly3/rG 4YSgMHbqwgtzc+dcU0PqCgIHyQJl1NiLKxFm948ZvV+fU9eX5qMwmDXr6yZe2YjKcu6W zzdevf4BK35TzT3lwECX2KkNhHYv0snhhFTS+l6Uli1B7n6X6/o30/xDXnzH5U41Taic Hnlc+sXtBCvVO6MRHXrvBVkN6KNbIrjTZE6WecdwzTcupe4akthGiK3i4GpmsoECEYTN RoCNfC4oCf0OGHi64ilsIib0KeaFKhom+o4B4oLZckP28yf5LXO//LYsys7EnHKM8m2b Ob7Q== X-Gm-Message-State: AOAM533MqGSGEPl5T8lALnXg+xYajBBuCAe5ICwVFhBAu74O0FL3Pr+k HVp6S2HkagQ+qTk2uUWGT9I= X-Received: by 2002:adf:f645:: with SMTP id x5mr14835224wrp.314.1617737685884; Tue, 06 Apr 2021 12:34:45 -0700 (PDT) Received: from bcarvalho-Ubuntu.lan ([2001:818:de85:7e00:ef5c:3f2a:a646:d6ec]) by smtp.gmail.com with ESMTPSA id r11sm18793668wrp.70.2021.04.06.12.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 12:34:45 -0700 (PDT) From: Beatriz Martins de Carvalho To: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org Cc: Beatriz Martins de Carvalho Subject: [RESEND PATCH] staging: emxx_udc: Ending line with argument Date: Tue, 6 Apr 2021 20:34:09 +0100 Message-Id: <20210406193409.96428-1-martinsdecarvalhobeatriz@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cleans up check of "Lines should not end with a '('" with argument present in next line in file emxx_udc.c 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