Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp232839rwb; Sat, 17 Sep 2022 04:22:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5B0JiDBLqUc6e/t6Soh6eMV7aMfP6M5NkLTau559IFzzMK5qqujExYFXuvjYayCJpQXKFV X-Received: by 2002:a05:6402:2711:b0:451:327a:365f with SMTP id y17-20020a056402271100b00451327a365fmr7315111edd.315.1663413761243; Sat, 17 Sep 2022 04:22:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663413761; cv=none; d=google.com; s=arc-20160816; b=NqyDby4Q8BEFnB3GX3yUbnCke/8gXkNWZLcrBBR1s6pBApW1khlW3cBKqlrWWQ53vx sT6pWUcYIejIFE0IGYxBJLacE25Zn8OcCoP8eliYQ9jkQdKnjW9N+yakf7dYjI5pxYYT xLI5GFzGpIYJtrBp1VBg17FyzVdjJMpMG/w8bUoyLSFVdI2w2+CYMxGsbs+Odn6xfxP7 hpKNV9k7gMC8acxJxiz1zpXtZTRDSPNHuXQZ8cqXIQvHCc0ElyJMb8nM+k+7k+Tqh/3Y qpWT7X8MI2Tb+jETm7xZQ00BYO8kguQ0DHPCuwSx/WI6KR5MG2OiwnuzPp6977ezfGGV 58Xg== 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; bh=eay8GrW2bh5vHtXjnUNQajzGbuTtTkl9P5TysxhUBGg=; b=Phqp7fxMAad0e1NRMYESRzXbhRws3Zz6h31Pb/q1rB+kzw6ui51NUZzvJ9vwBP+hB7 g+yotUXrdZRt27fksdzN5aKzRpgglGbaLuXKq5uS7Z7hse4YDgMWLpg3C0aEfF22nOjE CgrmWUP5DRaZ1PaXM12lEbj/xJJK+ofsXU+8DMjnEBPNYeCf6KQ1MFUKhKxsMTeNMHRw 0jTCVdDbI4jWb49FlqH14BoM5BGb6mHJSSkq5rLUosUb1GQmDLn+meFLeJP7haRutP4P soXKrylB2/vBY6ZcJek/AQ0mdxPN7FpSob9URYfWBdutoV1q0CPneAKkn0gpHBli1+nA wn1A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a056402519000b0044e7653e7b8si4732753edd.288.2022.09.17.04.22.13; Sat, 17 Sep 2022 04:22:41 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229591AbiIQKje (ORCPT + 99 others); Sat, 17 Sep 2022 06:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiIQKjb (ORCPT ); Sat, 17 Sep 2022 06:39:31 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA031C1B; Sat, 17 Sep 2022 03:39:29 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MV6nt42SzzHnYN; Sat, 17 Sep 2022 18:37:22 +0800 (CST) Received: from kwepemm600013.china.huawei.com (7.193.23.68) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 17 Sep 2022 18:39:27 +0800 Received: from localhost.localdomain (10.67.165.2) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 17 Sep 2022 18:39:27 +0800 From: Haoyue Xu To: , , , , CC: , , , , , Subject: [PATCH net-next 0/7] net: ll_temac: Cleanup for clearing static warnings Date: Sat, 17 Sep 2022 18:38:36 +0800 Message-ID: <20220917103843.526877-1-xuhaoyue1@hisilicon.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600013.china.huawei.com (7.193.23.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 Most static warnings are detected by Checkpatch.pl, mainly about: (1) #1: About the comments. (2) #2: About function name in a string. (3) #3: About the open parenthesis. (4) #4: About the else branch. (6) #6: About trailing statements. (7) #5,#7: About blank lines and spaces. Haoyue Xu (1): net: ll_temac: Cleanup for function name in a string huangjunxian (6): net: ll_temac: fix the format of block comments net: ll_temac: axienet: align with open parenthesis net: ll_temac: delete unnecessary else branch net: ll_temac: fix the missing spaces around '=' net: ll_temac: move trailing statements to next line net: ll_temac: axienet: delete unnecessary blank lines and spaces drivers/net/ethernet/xilinx/ll_temac.h | 181 +++++++++--------- drivers/net/ethernet/xilinx/ll_temac_main.c | 65 ++++--- drivers/net/ethernet/xilinx/ll_temac_mdio.c | 6 +- drivers/net/ethernet/xilinx/xilinx_axienet.h | 2 +- .../net/ethernet/xilinx/xilinx_axienet_main.c | 6 +- .../net/ethernet/xilinx/xilinx_axienet_mdio.c | 2 +- 6 files changed, 139 insertions(+), 123 deletions(-) -- 2.30.0