From patchwork Tue Jun 13 02:38:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dong Aisheng X-Patchwork-Id: 9782993 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7324260212 for ; Tue, 13 Jun 2017 02:38:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F6AD28547 for ; Tue, 13 Jun 2017 02:38:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5369728591; Tue, 13 Jun 2017 02:38:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 041EE28547 for ; Tue, 13 Jun 2017 02:38:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GhtWK9rwTLd3sq2v7+DcEaXdP3sHH9LsYiz2rtNysNI=; b=VDWn0EfH8q7mig WVd7FGSh39ndfVDcF6s2UNwGtkNJjWX/lHd9yEooNsLDpzDnT+uKTzrk0GLiOFG/dcTr9mJ/hYXxr raQ2VmO9exMBC0LWsyesmmL1iOBnVIxtmvji7MvQx18LqrZY3wRUdinrTGyux1d+7lm2kaKMz/GwS dypmnI0Z6Bo77nBe0WL5aSgwLbJWp3qYXJZSwhv/Wm4svRDllj7n8ojXNO8Fmrpv+ofQvo5fiMF/R wikPKTs0sW6uwW5Q+Dgf0XkmYxIddK0DL1UlG4ibQEaiXKSOCv3TiJrN59J3dRfAdIoa3gqy00tz3 ih51xnNqUsgrkaT5bq5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dKbiz-0003Ec-Cu; Tue, 13 Jun 2017 02:38:33 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dKbiv-0003Cv-3G for linux-arm-kernel@lists.infradead.org; Tue, 13 Jun 2017 02:38:31 +0000 Received: by mail-pg0-x244.google.com with SMTP id v14so16039931pgn.1 for ; Mon, 12 Jun 2017 19:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Vwo3VHXf2nNUBBEg55dowBcq2kAMS6IOGr+1FP2te0E=; b=P0fLaZwv/HfXXj5Fv0dNWfAGgp5M34JzOo3OUI45Q9Iq0aeYMaJ5/HXyo1LoDGE9pH 4PaQ58ZLB6l7Zk+RcsOzLKgo2+BCYiLELLSktlT2KtUKCPT+Snzw7qLFN+h1nviVE0v0 O4qeltDmhtVXBkxs24G8EwVlCgRTPt5zCJjo5PbhfrpbVICJo/FAvvZFubluu/ofLAPj oLAiMAnzUGnFqbz+uohxQYccHNJcQKawD9YS2HfTP+8lA3qKKx2iZJnGxEiQV6omGPUT hZofM1e9mFza4okYr1LgqWIz4oh57sYev9cBYdx6DMT0k/zhOF46LG+YmjFKGXfQdhHa ptvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Vwo3VHXf2nNUBBEg55dowBcq2kAMS6IOGr+1FP2te0E=; b=YYu03AP0CXTJOCVEBwqzuYY3yzg/pq+/UGojN8lwOSVL4EBn+MhmyRkbwKY/7GsNp3 sUs88KS3qgqMRZsNpjP+PVPBqGtAA1KnzdyP5mAKfM0khHJcN9WI/7SVpmsGB/ib7m2L 5m+4gc1MZ+XqqWj7PExzNneYwcAwftWod4jgd3HvClBYGvyEQutFCgd66HdhQZFlRemm TVl1txHEmjYnm0KrrUS3jeDslATq1P6P6NTrWRJvXJNTMsNesH4eKIjlWWHAVkV6tY/J YtNnngPOo112AfsWzlqWJMVEfMyb8Ar+D4NSZ5HgTJYgO07CixHEf9q3u3BUi2tazJEA cbMw== X-Gm-Message-State: AODbwcBKVaoYCqKypqL6ub/1ZUFFNmC+RSRqxvUhykxWTzrHDoVbxPw8 KhxwjQAKdQQnMA== X-Received: by 10.98.224.4 with SMTP id f4mr57156639pfh.72.1497321487977; Mon, 12 Jun 2017 19:38:07 -0700 (PDT) Received: from b29396-OptiPlex-7040 (gate-zmy3.freescale.com. [192.88.167.1]) by smtp.gmail.com with ESMTPSA id d185sm18971412pgc.39.2017.06.12.19.38.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 19:38:07 -0700 (PDT) Date: Tue, 13 Jun 2017 10:38:18 +0800 From: Dong Aisheng To: kbuild test robot Subject: Re: [PATCH] tty: serial: lpuart: fix semicolon.cocci warnings Message-ID: <20170613023818.GB15770@b29396-OptiPlex-7040> References: <201706130841.YZhbOH9x%fengguang.wu@intel.com> <20170613002841.GA25353@lkp-wsm-ep1> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170613002841.GA25353@lkp-wsm-ep1> User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170612_193829_224235_86BC0364 X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dong Aisheng , nikita.yoush@cogentembedded.com, fugang.duan@nxp.com, gregkh@linuxfoundation.org, yangbo.lu@nxp.com, Mingkai.Hu@nxp.com, linux-kernel@vger.kernel.org, stefan@agner.ch, andy.shevchenko@gmail.com, kbuild-all@01.org, linux-serial@vger.kernel.org, jslaby@suse.com, fengguang.wu@intel.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Fengguang, On Tue, Jun 13, 2017 at 08:28:41AM +0800, kbuild test robot wrote: > drivers/tty/serial/fsl_lpuart.c:305:2-3: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > CC: Dong Aisheng > Signed-off-by: Fengguang Wu Seems not catched by checkpatch. > --- > > fsl_lpuart.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/drivers/tty/serial/fsl_lpuart.c > +++ b/drivers/tty/serial/fsl_lpuart.c > @@ -302,7 +302,7 @@ static inline void lpuart32_write(struct > case UPIO_MEM32BE: > iowrite32be(val, port->membase + off); > break; > - }; > + } lpuart32_read needs the same fixing. Regards Dong Aisheng > } > > static void lpuart_stop_tx(struct uart_port *port) diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index a66ed23..ed0bf18 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -288,7 +288,7 @@ static inline u32 lpuart32_read(struct uart_port *port, u32 off) return ioread32be(port->membase + off); default: return 0; - }; + } } static inline void lpuart32_write(struct uart_port *port, u32 val, @@ -301,7 +301,7 @@ static inline void lpuart32_write(struct uart_port *port, u32 val, case UPIO_MEM32BE: iowrite32be(val, port->membase + off); break; - }; + } } Thanks for the catching.