Message ID | 202212010926422966197@zte.com.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp13947wrr; Wed, 30 Nov 2022 17:39:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7MuKbKOcUmSPARaKBoiZjsRlEJl1Iqi8PjfoU8RyA33OV+RnS+xHHuZkUN+lUhN6SP0hv6 X-Received: by 2002:a17:906:d1c7:b0:7ad:fd3e:7762 with SMTP id bs7-20020a170906d1c700b007adfd3e7762mr39723676ejb.717.1669858775466; Wed, 30 Nov 2022 17:39:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669858775; cv=none; d=google.com; s=arc-20160816; b=P9ih5+kFMDNjCzKxI9nVdF+l6QQ96/URieAiH/UtAihAMzJsac81TwkOta8kj0aW12 feZ7VooHWVG/0rygbZ1r19jvjde6Dg09RzISyEzVRXMj0PcAgs1p8XUotJUXqmszHXsz MxGqnCfOrxdfdHptdaPAJ1qEE2lEY9+6lQ+9k1+U+9rdjoMjORRnrnnyL2bECLz82l/+ PSzkqm10f9hAcHVFz0mM24pJHl0+WqNUuMPxU5dE5qs3Ybc+/aXcKnRFR8UIGcMLrn2k RkBKa7JkJXMMFydVfHy/yeee7UdSyn2q1MYw7WScQvT1moXOgznkahNbQIVM0qBv9GnL G90Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:mime-version:message-id:date; bh=rTPCf99Pon5byV04mGJsbTF21dH1sf9zkQUblmv1NHc=; b=ZkODQFT8HyXxeIA8hpUPOh0PWJqyDTk0xTT/7LdnEHMewhys1SofhCT5MpMJCzS1z1 qR+en0S1fiTbbfBue76CjaTwk/ujuIoUNW4Z8lv8YYZfc1NQN3vyIX2VNQlNBTBU1PaF ay6ru/If8BDkB+KCSx2qUNe6uWtJZizySaMzDVYn6ikVp+LWrPJpUFs3D8kq2FxEaOz7 PMh/90YZ876vNJGiO63n4Sh6lgw3+kJcX5D9CG51YLW5p8WrJJUdBpekAglnLfTlSw+R lJIc6xHoA/exfunz8ds9PP5cXqVj1ZPek5STcM6RNtI4XxSEak2StETHiaaM8ebQ3rOl AClQ== 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=NONE sp=NONE dis=NONE) header.from=zte.com.cn Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk18-20020a1709077f9200b007ae87dde2c7si2743273ejc.830.2022.11.30.17.39.12; Wed, 30 Nov 2022 17:39:35 -0800 (PST) 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=NONE sp=NONE dis=NONE) header.from=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229777AbiLAB05 (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Wed, 30 Nov 2022 20:26:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiLAB0z (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 30 Nov 2022 20:26:55 -0500 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54BF48C6A5; Wed, 30 Nov 2022 17:26:54 -0800 (PST) Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4NMz222Fsgz8QrkZ; Thu, 1 Dec 2022 09:26:50 +0800 (CST) Received: from xaxapp01.zte.com.cn ([10.88.40.50]) by mse-fl2.zte.com.cn with SMTP id 2B11QftC001011; Thu, 1 Dec 2022 09:26:41 +0800 (+08) (envelope-from zhang.songyi@zte.com.cn) Received: from mapi (xaxapp01[null]) by mapi (Zmail) with MAPI id mid31; Thu, 1 Dec 2022 09:26:42 +0800 (CST) Date: Thu, 1 Dec 2022 09:26:42 +0800 (CST) X-Zmail-TransId: 2af9638802d255a4c856 X-Mailer: Zmail v1.0 Message-ID: <202212010926422966197@zte.com.cn> Mime-Version: 1.0 From: <zhang.songyi@zte.com.cn> To: <adrian.hunter@intel.com> Cc: <ulf.hansson@linaro.org>, <linux-mmc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <zhang.songyi@zte.com.cn> Subject: =?utf-8?q?=5BPATCH_linux-next=5D_mmc=3A_sdhci=3A_Remove_unneeded_se?= =?utf-8?q?micolon?= Content-Type: text/plain; charset="UTF-8" X-MAIL: mse-fl2.zte.com.cn 2B11QftC001011 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.250.137.novalocal with ID 638802DA.000 by FangMail milter! X-FangMail-Envelope: 1669858010/4NMz222Fsgz8QrkZ/638802DA.000/10.5.228.133/[10.5.228.133]/mse-fl2.zte.com.cn/<zhang.songyi@zte.com.cn> X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 638802DA.000/4NMz222Fsgz8QrkZ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750973835229907406?= X-GMAIL-MSGID: =?utf-8?q?1750973835229907406?= |
Series |
[linux-next] mmc: sdhci: Remove unneeded semicolon
|
|
Commit Message
zhang.songyi@zte.com.cn
Dec. 1, 2022, 1:26 a.m. UTC
From: zhang songyi <zhang.songyi@zte.com.cn> The semicolon after the "}" is unneeded. Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn> --- drivers/mmc/host/sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.15.2
Comments
On Thu, 1 Dec 2022 at 02:26, <zhang.songyi@zte.com.cn> wrote: > > From: zhang songyi <zhang.songyi@zte.com.cn> > > The semicolon after the "}" is unneeded. > > Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn> Please run checkpatch (./scripts/checkpatch.pl) to make sure there are no obvious formatting problems with your patch. This time it gives the below warning, please fix it and resubmit a new version. WARNING: please, no spaces at the start of a line #79: FILE: drivers/mmc/host/sdhci.c:2292: + }$ total: 0 errors, 1 warnings, 8 lines checked Kind regards Uffe > --- > drivers/mmc/host/sdhci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c > index 42aaeabcad22..8413180a1039 100644 > --- a/drivers/mmc/host/sdhci.c > +++ b/drivers/mmc/host/sdhci.c > @@ -2289,7 +2289,7 @@ static bool sdhci_timing_has_preset(unsigned char timing) > case MMC_TIMING_UHS_DDR50: > case MMC_TIMING_MMC_DDR52: > return true; > - }; > + } > return false; > } > > -- > 2.15.2
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 42aaeabcad22..8413180a1039 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2289,7 +2289,7 @@ static bool sdhci_timing_has_preset(unsigned char timing) case MMC_TIMING_UHS_DDR50: case MMC_TIMING_MMC_DDR52: return true; - }; + } return false; }