Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1109637rwi; Wed, 26 Oct 2022 10:52:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5EvYyxuY55RN3/C/0ZDZ5PLM5MzQxKl+zvSZUUEiBSG4nRO1j/e8g7T1li2dLae6Z0lWzE X-Received: by 2002:aa7:cb09:0:b0:461:e6b6:4bad with SMTP id s9-20020aa7cb09000000b00461e6b64badmr13654335edt.27.1666806775793; Wed, 26 Oct 2022 10:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666806775; cv=none; d=google.com; s=arc-20160816; b=nMRmHwdk1HTZrtfz8Q8Ey9U9pQioM3l5WstrmuNpoopdPHpQqEWw6JCYJVKgn84ZiF TmwyL6JYaQ5Vrt5UNbLJeXbshxdzIW9mK61r2jmVCRP8HtDaIUJaP8nKfkoPdhDmjEZG xz8rIeEvPjbtfRHzBNn49mr5rg+JqTLuBnzLNbTzWnkoX9f3j24Ez582pclUJtZ9z7Ba 8kjoB+SRwBa0wAAzTBddXsNWNGZ3Y1C8xvZmyyGk/ZPEwkni0v8gB5Z9gCu0JZ9C0EJk IKDZuhv0/QRxoF0I/0USdoS5FTGieHbZI1xm8b3GWhH6bHWhmoRtrNxkwyKdTNcyjhhg H1mQ== 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=FRxHoxm6P1RvhdSeOwNej3/a2XKscd0zPEdZFSfHcAM=; b=q5nU4Wvi5C/f2Tm/0zhVas6abyJwyzSfSrDkoKfrME9pqHSBY5khHo5lxLVRNuBZo0 2voeHFx+1RU8tbZ0i574neRrMuKk1/Mlp87uh+mwMvqMFRx9R2lf6E8/ARpZrytoxmQX tCBPT2LjlqFTVGKCU3tkfHRbcJd86OmN9xL5QSO/aP0So/Hwhd7BPGzv/H4wZUSc+hnn 2vBnMc1e6vmoLo0qh2lR05KpWXd5lLAahqvfN179dOYEylJ69b8xGkmsKNfCAimTl1yB 5qlMCyp4KPZFCyAWaviknyUdJBDHBqLnV/OfAgE7SNG5L2jtkV2vETIWYR+Ctc107T5j ssoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fz5My3zI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a1709067d9100b007a953d421bbsi5661662ejo.322.2022.10.26.10.52.30; Wed, 26 Oct 2022 10:52:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fz5My3zI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234041AbiJZROz (ORCPT + 99 others); Wed, 26 Oct 2022 13:14:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233330AbiJZROw (ORCPT ); Wed, 26 Oct 2022 13:14:52 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4778513EA9 for ; Wed, 26 Oct 2022 10:14:49 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id y14so23171977ejd.9 for ; Wed, 26 Oct 2022 10:14:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FRxHoxm6P1RvhdSeOwNej3/a2XKscd0zPEdZFSfHcAM=; b=fz5My3zIF5XGZhEoSzEVFDLGy9W8SAMCYayn36lNzsdTEetRLrOGWRE0KK72DXBjcB WF5v1NCWW97wXQx+n5jTNHG6VdRsSmaKekLetVYqPe/vPeFvqdnLslrO9DpFb7U6dCHv Tty1PsNwXDbNr3B+mgyJ92nHDEUkhv2fG9hlgKHXVifi91eVXIg22cjnAyAzuJOWxoYW 6441COwsIGhicA+ZgODplc2V4XGxhdlabztlCGBNOGZITC7tqHhKPYa4z7yeHfXgQpLO NjMNHR8fP8lsaTblgYpxxwYbj/y3o/gvZtP0kN32dT5OA4jB+67JYpkZBTMXoysYSONo TrNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FRxHoxm6P1RvhdSeOwNej3/a2XKscd0zPEdZFSfHcAM=; b=UCxIJTwLS6OauznCfB+gYL1c/03YY8+ckAaCR2Zd1sTEMr8pffqnjaO2O4m39t4/eI IyWUaWYedwZjUD/ffyil3L6Ie2I+K1BT/QZk/ury67RDCkAYucEMdbgaOerjAAD02Uz8 taROcp0ZRoElNNLIDRY8QrIvHMXpU/gI6UGq+zAu7ysTdlDakUbGCOYOOtkRnoztl41J ECuHMHGWzlEMeg0WmaXvPdJ21x+SJIbn1WNWqRZ/HObIipskCwZ8Z2wO+U+u+V1KJ80A lPEZEmnhNMNDq6qTOIobIpGlV0re0ECAtc/E+5Fra0la+dYv/FFzKehn83VclOtQDdmh oLtQ== X-Gm-Message-State: ACrzQf00KSRTCC3q+PKJnF+XfzXKeZOPEDhE3fe5XFyNQJ7f+Ten2w08 pSlTx0oiBoKDcOtdcAfsGdg= X-Received: by 2002:a17:907:7633:b0:7ad:85ee:c66d with SMTP id jy19-20020a170907763300b007ad85eec66dmr1477367ejc.730.1666804487769; Wed, 26 Oct 2022 10:14:47 -0700 (PDT) Received: from nam-dell (ip-217-105-46-178.ip.prioritytelecom.net. [217.105.46.178]) by smtp.gmail.com with ESMTPSA id b16-20020aa7cd10000000b00461bacee867sm3796683edw.25.2022.10.26.10.14.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 10:14:47 -0700 (PDT) Date: Wed, 26 Oct 2022 19:14:34 +0200 From: Nam Cao To: UMWARI JOVIAL Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH] Fixed[ERROR:trailing whitespace and braces around scalar initializer] Message-ID: <20221026171430.GA5592@nam-dell> References: <20221026132838.GA44037@rdm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221026132838.GA44037@rdm> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 26, 2022 at 04:28:38PM +0300, UMWARI JOVIAL wrote: > Using the checkpatch.pl script, found the below errors and fixed > ERROR: trailing whitespace > CHECK: Please don't use multiple blank lines > warning: braces around scalar initializer > > Signed-off-by: UMWARI JOVIAL > --- > drivers/staging/most/dim2/dim2.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c > index 7a5f80e637a0..28259ce05024 100644 > --- a/drivers/staging/most/dim2/dim2.c > +++ b/drivers/staging/most/dim2/dim2.c > @@ -987,7 +987,6 @@ static int rcar_gen2_enable(struct platform_device *pdev) > writel(0x04, dev->io_base + 0x600); > } > > - > /* BBCR = 0b11 */ > writel(0x03, dev->io_base + 0x500); > writel(0x0002FF02, dev->io_base + 0x508); > @@ -1084,7 +1083,6 @@ static const struct of_device_id dim2_of_match[] = { > { > .compatible = "xlnx,axi4-os62420_6pin-1.00.a", > }, > - {}, I'm no expert, but this looks like a null terminator and probably should not be removed. Best regards, Nam