From patchwork Tue Oct 17 04:14: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: 10010629 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 5A0A7601E7 for ; Tue, 17 Oct 2017 04:15:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 436F62874E for ; Tue, 17 Oct 2017 04:15:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3808728750; Tue, 17 Oct 2017 04:15:26 +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 C59FE2874E for ; Tue, 17 Oct 2017 04:15:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756303AbdJQEPA (ORCPT ); Tue, 17 Oct 2017 00:15:00 -0400 Received: from mga04.intel.com ([192.55.52.120]:47515 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754708AbdJQEO7 (ORCPT ); Tue, 17 Oct 2017 00:14:59 -0400 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2017 21:14:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,389,1503385200"; d="scan'208";a="163905033" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga006.fm.intel.com with ESMTP; 16 Oct 2017 21:14:57 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1e4JMO-000Jc8-HA; Tue, 17 Oct 2017 12:20:08 +0800 Date: Tue, 17 Oct 2017 12:14:08 +0800 From: kbuild test robot To: Mario Limonciello Cc: kbuild-all@01.org, dvhart@infradead.org, Andy Shevchenko , LKML , platform-driver-x86@vger.kernel.org, Andy Lutomirski , quasisec@google.com, pali.rohar@gmail.com, rjw@rjwysocki.net, mjg59@google.com, hch@lst.de, Greg KH , Alan Cox , Mario Limonciello Subject: [PATCH] platform/x86: dell-smbios: fix semicolon.cocci warnings Message-ID: <20171017041408.GA78257@lkp-sb05> References: <201710171257.wrCR1WHe%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <90a5cf6c25c99cf8937b8b1d6109817e9dc736a0.1507958847.git.mario.limonciello@dell.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: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/platform/x86/dell-smbios.c:108:2-3: Unneeded semicolon drivers/platform/x86/dell-smbios.c:87:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 79480699ede0 ("platform/x86: dell-smbios: Introduce dispatcher for SMM calls") CC: Mario Limonciello Signed-off-by: Fengguang Wu --- dell-smbios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/platform/x86/dell-smbios.c +++ b/drivers/platform/x86/dell-smbios.c @@ -84,7 +84,7 @@ void dell_smbios_unregister_device(struc put_device(d); break; } - }; + } mutex_unlock(&smbios_mutex); dev_dbg(d, "Remove device: %s\n", d->driver->name); } @@ -105,7 +105,7 @@ int dell_smbios_call(struct calling_inte call_fn = priv->call_fn; selected_dev = priv->device; } - }; + } if (!selected_dev) { ret = -ENODEV;