From patchwork Sun Jun 25 15:02:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9808183 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 415AC60329 for ; Sun, 25 Jun 2017 15:03:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 315EC28662 for ; Sun, 25 Jun 2017 15:03:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2596128675; Sun, 25 Jun 2017 15:03:44 +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.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no 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 B3C1C28662 for ; Sun, 25 Jun 2017 15:03:43 +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=7JKl+Br4iAo20jcH9q4Ymltuu+IyVg2YcxBJkzpHHac=; b=eCAt+hbYbXMRhk 2nxtcmaebBFb6vqLaXyEg/Oo7s87Pvl8nEIAnE9DbAKYZoZsvHJh1hPTLS/xeWc3yNVTD3LDwNRgk Yzx7jExASapRvq9Cm0/HkJsy03EezcWqYBNAcZp8YMZU4TwwwJH39DLTVWinmqn+ZslJBEOwR73j5 lA8YPobOo1o9wK0MtiGq70umDTnoqO5Vp0RThjYXjitLbCnOTQE5XDEeLWSICZi+Fie/OKx48/hx+ hsPLpqTAANlojb9ZXy+kcpAkpz66wIHEaiS3PFfmJMiFPwTP2Mv5nrE3Qa9BavifW9xA16FMqlFjj rds9719xJ37TQeysE5Wg==; 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 1dP94d-0006HR-5N; Sun, 25 Jun 2017 15:03:39 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dP94Z-0006FQ-TP for linux-arm-kernel@lists.infradead.org; Sun, 25 Jun 2017 15:03:37 +0000 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2017 08:03:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,390,1493708400"; d="scan'208";a="119063614" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga006.fm.intel.com with ESMTP; 25 Jun 2017 08:03:12 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1dP97g-000Lgz-84; Sun, 25 Jun 2017 23:06:48 +0800 Date: Sun, 25 Jun 2017 23:02:54 +0800 From: kbuild test robot To: Hugues Fruchet Subject: [PATCH] stm32-dcmi: fix semicolon.cocci warnings Message-ID: <20170625150254.GA28052@xian.lkp.intel.com> References: <201706252214.3z2NADlJ%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1498144371-13310-4-git-send-email-hugues.fruchet@st.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170625_080336_036585_C9BC2372 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, Benjamin Gaignard , Alexandre Torgue , linux-kernel@vger.kernel.org, Hans Verkuil , kbuild-all@01.org, Maxime Coquelin , Hugues Fruchet , Mauro Carvalho Chehab , Yannick Fertre , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.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 drivers/media/platform/stm32/stm32-dcmi.c:808:2-3: Unneeded semicolon drivers/media/platform/stm32/stm32-dcmi.c:562:2-3: Unneeded semicolon drivers/media/platform/stm32/stm32-dcmi.c:762:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: a8a270dedb25 ("stm32-dcmi: crop sensor image to match user resolution") CC: Hugues Fruchet Signed-off-by: Fengguang Wu --- stm32-dcmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/media/platform/stm32/stm32-dcmi.c +++ b/drivers/media/platform/stm32/stm32-dcmi.c @@ -559,7 +559,7 @@ static int dcmi_start_streaming(struct v /* Enable crop */ val |= CR_CROP; - }; + } reg_write(dcmi->regs, DCMI_CR, val); @@ -759,7 +759,7 @@ static int dcmi_try_fmt(struct stm32_dcm /* Restore width/height */ pixfmt->width = width; pixfmt->height = height; - }; + } pixfmt->field = V4L2_FIELD_NONE; pixfmt->bytesperline = pixfmt->width * dcmi_fmt->bpp; @@ -805,7 +805,7 @@ static int dcmi_set_fmt(struct stm32_dcm mf->width, mf->height, dcmi->crop.width, dcmi->crop.height, dcmi->crop.left, dcmi->crop.top); - }; + } dcmi->fmt = *f; dcmi->current_fmt = current_fmt;