From patchwork Sun Jun 25 16:07:08 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: 9808239 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 8FC276038C for ; Sun, 25 Jun 2017 16:08:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 810972865B for ; Sun, 25 Jun 2017 16:08:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 752C12867F; Sun, 25 Jun 2017 16:08:17 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 114152865B for ; Sun, 25 Jun 2017 16:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751186AbdFYQHo (ORCPT ); Sun, 25 Jun 2017 12:07:44 -0400 Received: from mga01.intel.com ([192.55.52.88]:33936 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbdFYQHm (ORCPT ); Sun, 25 Jun 2017 12:07:42 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2017 09:07:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,391,1493708400"; d="scan'208";a="985034255" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 25 Jun 2017 09:07:38 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1dPA82-0002yJ-Do; Mon, 26 Jun 2017 00:11:14 +0800 Date: Mon, 26 Jun 2017 00:07:08 +0800 From: kbuild test robot To: Hugues Fruchet Cc: kbuild-all@01.org, Sylwester Nawrocki , "H. Nikolaus Schaller" , Guennadi Liakhovetski , Rob Herring , Mark Rutland , 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] ov9650: fix semicolon.cocci warnings Message-ID: <20170625160708.GA23872@lkp-ne04.lkp.intel.com> References: <201706252313.0XcqTjb4%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1498143942-12682-7-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/i2c/ov9650.c:2034:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 5ffa34fa8f2e ("ov9650: add support of OV9655 variant") CC: Hugues Fruchet Signed-off-by: Fengguang Wu --- ov9650.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/media/i2c/ov9650.c +++ b/drivers/media/i2c/ov9650.c @@ -2031,7 +2031,7 @@ static int ov965x_probe(struct i2c_clien ov965x->formats = ov9655_formats; ov965x->nb_of_formats = ARRAY_SIZE(ov9655_formats); ov965x->set_params = ov965x_set_frame_size; - }; + } ov965x->frame_size = &ov965x->framesizes[0]; ov965x_get_default_format(ov965x, &ov965x->format);