Received: by 10.223.148.5 with SMTP id 5csp6516724wrq; Wed, 17 Jan 2018 14:52:21 -0800 (PST) X-Google-Smtp-Source: ACJfBotm/u8r5gxZZPwUUL651LZ8D3P/4J1YmioBaFjMhHwrS9mMsn3X0NoZZYDtZ1iQ2QnQhJgJ X-Received: by 10.159.252.197 with SMTP id o5mr33337662pls.67.1516229541684; Wed, 17 Jan 2018 14:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516229541; cv=none; d=google.com; s=arc-20160816; b=tjnh7gRYLUtycE8rJ1vaNbujPhrbYXwDZBixdzeeSzByHQ5piYPSaFhZDIvRFEdA6E Lq/Fa5UDX711o97sUWjFGbm2adL8WA49m7REHMS+cPlGcnyM5DifU2SQs/Hp0AGVzeQ+ vl/dX02Mik6ASijH/VIiv7PomO9BPPHnSKWhm4JX7GSOgm7YZxgnbwdbuC5LmJPVXRty FKFL6TO2JK1ERM0q5jwXtRMDUWGTX9FjlFSfYtx6tVvEFQPsPhlHR1VpgoG2cktBdT2d 1+SJNA0C+Jrwl6eKfmddfZ3CYK+nN1V1NRQIMYtiuMu3GLpYlhqav0o57Ib/4LGGjged OlrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=j8SbvEi0QwMOVHY738IObAGcQ5qlPKjsOGj7Ka5Oqek=; b=Pp5L2LihGajWbv30prD492v4ace9m7nyTulFdimdAOtbo3Q7DHoco++ZJYFYKXcXKf WUXLJbNvSEYaTP6i+h50aFtHsTfUvokpTfpRJ7uQ5hrqsNyotaJfty6Fs06fnNaaR3aO mDxFn0QgpHlyOGQpWYZvXZujNyw+GTv1TyMpHkDH4gPq9V+A3yliMripKFR0jZ/DZh+6 b0FoH9dOGcvCtHlmxzvzcoBnpy/R6nW3mKMFArBfl6U0ad22x1tZVRP+8wnHiKNpwrrh 22FcsV5DSqdbOHbUpFtavyh718Qtbxq+YSK1Pz77+Mm8C5yeAn/M+Y5Ec5Z4H+mwNLJZ lhvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Jy3hnPDH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si5302162plt.185.2018.01.17.14.52.07; Wed, 17 Jan 2018 14:52:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Jy3hnPDH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753630AbeAQWvl (ORCPT + 99 others); Wed, 17 Jan 2018 17:51:41 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35472 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753232AbeAQWvk (ORCPT ); Wed, 17 Jan 2018 17:51:40 -0500 Received: by mail-pg0-f66.google.com with SMTP id d6so12305996pgv.2; Wed, 17 Jan 2018 14:51:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=j8SbvEi0QwMOVHY738IObAGcQ5qlPKjsOGj7Ka5Oqek=; b=Jy3hnPDHOYVTQO8qREjfbCXm1AiPW27+OpiE/afRfcw7PNv3r8XwYcY2QKNLLYSzK/ T9hxLDKGtYsTdL14xl3O9NWLzCsZb5fcPOaA0Zk1zKNXjfYnhINOgx8FXCuXpo4iFPIp 1QOLmPmvH3BWj9cC0AlG4o3ReGt7JGYDj+ifnuzZwHrlwuaxFTPW37NSK6vJ/baMJKoT zaUMUcgfnGh6eDonvFNQAk2lmUwcbCRWtemot4dIr173OiI77AhQwYOL9hQUDQFSvxv/ JIA7YizeOT3vPZR6fQv4M1dOc2ReZkCn3atDh63Hmo0c5oj4MTi4bSKp2dC9+yQiDtBd t6ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=j8SbvEi0QwMOVHY738IObAGcQ5qlPKjsOGj7Ka5Oqek=; b=bO/Zvtl15jgOm931NHWGMCwSqpuctsTeSYXdwncRr1KJ+99Us3k1R9s3Il8Jdl9O1O 7buY17C+7WVygLw+1SIzv8jlU2RjbqrF+JkIewnZAxayarS4wH2UN05+6Ko0tLxNg5JY Ufolf4k8yfxG4xNoE8YzYvpcEHVN9rTgqhALFLRa2EdVP1E5mmgS1Ed98iVzFBV1Ntsi 59kL/CkByO0RTYUJYGhEGPrM/qNJOnEsVf+SyuF5a7vphu3s2XSd1LOIIdzpXJFZKSsH ykrqzjFou82q5dM3ZySxwB2gGqIkD/7tW25r47fQ89lhQZjB2ZI7PSF8E+0blfr9f2a4 7fjQ== X-Gm-Message-State: AKwxytcvbrjylM5MKO6Xa2h7ww8IyxLcNCIKBdmYqrCCxGge3OVtrOnY 7CfWzf8SzmFhvzMXQ2g8/jM= X-Received: by 10.159.250.146 with SMTP id k18mr12785288pls.146.1516229499764; Wed, 17 Jan 2018 14:51:39 -0800 (PST) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id n24sm10520768pfi.33.2018.01.17.14.51.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 14:51:38 -0800 (PST) Date: Wed, 17 Jan 2018 14:51:37 -0800 From: Guenter Roeck To: Luis de Bethencourt Cc: linux-kernel@vger.kernel.org, Joe Perches , Jean Delvare , linux-hwmon@vger.kernel.org Subject: Re: [PATCH] hwmon: (lm75) Fix trailing semicolon Message-ID: <20180117225137.GA25052@roeck-us.net> References: <20180117182448.16204-1-luisbg@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180117182448.16204-1-luisbg@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 17, 2018 at 06:24:48PM +0000, Luis de Bethencourt wrote: > The trailing semicolon is an empty statement that does no operation. > Removing it since it doesn't do anything. > > Signed-off-by: Luis de Bethencourt Applied. Thanks, Guenter > --- > > Hi, > > After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches > suggested I fix it treewide [0]. > > Best regards > Luis > > > [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html > [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html > > drivers/hwmon/lm75.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c > index 005ffb5ffa92..49f4b33a5685 100644 > --- a/drivers/hwmon/lm75.c > +++ b/drivers/hwmon/lm75.c > @@ -100,7 +100,7 @@ static int lm75_read(struct device *dev, enum hwmon_sensor_types type, > switch (attr) { > case hwmon_chip_update_interval: > *val = data->sample_time; > - break;; > + break; > default: > return -EINVAL; > } > -- > 2.15.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html