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: 9808179 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 7D3C260329 for ; Sun, 25 Jun 2017 15:03:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B8C428662 for ; Sun, 25 Jun 2017 15:03:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F84728675; Sun, 25 Jun 2017 15:03:19 +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=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB75E28662 for ; Sun, 25 Jun 2017 15:03:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751207AbdFYPDQ (ORCPT ); Sun, 25 Jun 2017 11:03:16 -0400 Received: from mga07.intel.com ([134.134.136.100]:39073 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbdFYPDQ (ORCPT ); Sun, 25 Jun 2017 11:03:16 -0400 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP; 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 Cc: kbuild-all@01.org, Maxime Coquelin , Alexandre Torgue , Mauro Carvalho Chehab , Hans Verkuil , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Benjamin Gaignard , Yannick Fertre , 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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;