Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5025765imu; Sat, 1 Dec 2018 07:42:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/WJegvDUXNt3wQczEm9gXcCvOEFn1gUjamj/ZUOB1HsbBtOpcWvRs2RDCbzCTYoOh7XB5IX X-Received: by 2002:a17:902:7c0c:: with SMTP id x12mr9933885pll.265.1543678958899; Sat, 01 Dec 2018 07:42:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543678958; cv=none; d=google.com; s=arc-20160816; b=ndiHYuKOkqtEWqLMhTMmQgW8I8DBnRlLjcFH6d0uepSOcvs8qdLd5D7JWntmXe481s PBgy6VbET0Rqn6OR0+l5BXbLx/Xrlyz1xWWrJ5iwbBkv/dep8+ZLIaglyC5T5HU4t1qw ZjTkw0JjSj3DUyRBhLslGkhJAG4DOxaKqeKxehbDXOXoK0yU1hJLNbCeztcEzP74YoYd lD2bxHPfdKN1l50pXwas5GUJV6qWMZLhIQP2plQay12/ybc09PwFuCxKhAEuej0duyAy TOGzmho4PdQOjfsw3aokGUgHRcHsDUio14WtCDKj+GcZH5g8hM2m8ihmzwnrJL7xjAE6 iljA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=SD66M0FeRjsgBHJzNaiGIINFrCP0zhEHxgVje9J/Hwc=; b=ntJ1ZKRcQGFNuqsrheGMi2XH/hKxandCLPPJSa6q51dxV2LaAfdCNsGg/Ek3yWPKka 2lMTnStuNBm9BO+HnvXHKe8c+Yvk/H7mvHB0pZ20f3X0+XkPIE6moPzEVOE9oouncH3X udetf87dunGTxsleeMUUwS62eCiunf92IbJzIQN7opTS7/EhvQKkaVOtA36JEF+/6Dkz Lc+mfFnNRRTE2Gv44fv7oDzErbmwlV0X15RGMShODjRbslObcDC3gHLEdv00uJDI5d9J As8tmaysnJKPUWNZz+ISEhi0EabJOitHQ51m/KkQpQZXcTo9AipG3rGED3gH1ZFYa5Y9 L62A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HkB0Fl8x; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b128si8686072pfa.283.2018.12.01.07.42.24; Sat, 01 Dec 2018 07:42:38 -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=pass header.i=@kernel.org header.s=default header.b=HkB0Fl8x; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727126AbeLBCwY (ORCPT + 99 others); Sat, 1 Dec 2018 21:52:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:52766 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726717AbeLBCwY (ORCPT ); Sat, 1 Dec 2018 21:52:24 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A80C820673; Sat, 1 Dec 2018 15:39:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543678777; bh=AbFuLxDzc+Oa6euuuOQwP0BVmHwGMTyQRzJYFjbXF8s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HkB0Fl8xuOdBNuLRXiRIOaWXqy0rdoxofPWUqNWjiDDPX78FtRljH6KcYpZHwmbvI /LXFktHJx0VtJsT+KV3H2VI5z2ya3Ew1gEAVp/OIXmuYVW3N9jxuAZh55Dxp/GI8fQ dzSSIjsPwXClV7XLVEC3TsKGGS1Mj8TwMDt/wLEc= Date: Sat, 1 Dec 2018 15:39:32 +0000 From: Jonathan Cameron To: Matheus Tavares Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , Rob Herring , Mark Rutland , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandru Ardelean , kernel-usp@googlegroups.com, victorcolombo@gmail.com Subject: Re: [PATCH v3 6/7] staging:iio:ad2s90: Add comment to device state mutex Message-ID: <20181201153932.45e218f5@archlinux> In-Reply-To: <20181124002312.6923-7-matheus.bernardino@usp.br> References: <20181124002312.6923-1-matheus.bernardino@usp.br> <20181124002312.6923-7-matheus.bernardino@usp.br> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Nov 2018 22:23:11 -0200 Matheus Tavares wrote: > From: Victor Colombo > > Fix the checkpatch.pl issue: > "CHECK: struct mutex definition without comment". > > Signed-off-by: Victor Colombo > Signed-off-by: Matheus Tavares Applied, thanks Jonathan > --- > Changes in v3: > - none > > Changes in v2: > - Patch added in v2 > > drivers/staging/iio/resolver/ad2s90.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/iio/resolver/ad2s90.c b/drivers/staging/iio/resolver/ad2s90.c > index 678351dabe6b..a41f5cb10da5 100644 > --- a/drivers/staging/iio/resolver/ad2s90.c > +++ b/drivers/staging/iio/resolver/ad2s90.c > @@ -22,7 +22,7 @@ > #define AD2S90_MAX_SPI_FREQ_HZ 830000 > > struct ad2s90_state { > - struct mutex lock; > + struct mutex lock; /* lock to protect rx buffer */ > struct spi_device *sdev; > u8 rx[2] ____cacheline_aligned; > };