Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp403616ybh; Sat, 18 Jul 2020 07:35:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPZaarQhlHKcPucb3oGVCwQwx8AeQoZbaDVi42bWl4zCLHC0gQ1dKHeaK/uVAc7Rv3Wsxm X-Received: by 2002:a17:906:e51:: with SMTP id q17mr13919109eji.218.1595082905227; Sat, 18 Jul 2020 07:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595082905; cv=none; d=google.com; s=arc-20160816; b=g9M92mJFJGPhNFX42pJ7nIvToipnVGMNiI+qW2fqd2coCLekRijssx3pMZ1TvDK1DJ 2OfcKBHnqhUr1vTvi0+0b7EQDNbbaXmBMjQNDo7EcqAmNZ9J9BWmxBkusMQ/NLQdnPOz I7upBhDS94dr/Ar/wNko58U8s8sZDyVgQ4jiWfzpveFg+QvuG5oALByFglVsYSscA/7j Hasp300Qi6S69ftuMYagnBaMMUdzyhEg/g/YR63j90JbdnN26yyxMcwnwffoNU7VNMKa BzfQtDFGpucbveszkLFvpg39PGiY7Tpza8yqkMpaovOL0pvvGxMsAMsoXPf8h4TN7XJZ pweQ== 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=BhjsVOB8unsOIZPOBTVsyOjpeouMjo2XdQqLzYs5pQU=; b=PdpUkeaBTiWEzAfjZzhtYnHcnuSdOqMd+NVXQK7/epFHSKeATs1/BGht2opt/iyYzH bWVH7hnQoJ984Ow+TJ+gWl5/CKc8Bl13/EAiOPTHoN5ACm5cdJOaPVejUvFJ+mrIVpoc UPsjZJZnyGItQiBWcIES016g3M3T8lmhgK1FbdRH92xYTzBBhCLMU0mIt8zCJtss0+nN UQveZ7pVU0XImRqKzKjvL8geVYJ9Zii3pA3VaPSYNL8zH8IHRzmpxb9p5a0XpzWT333O OkeDoR0o0a5vcikYxyUJgB9aYDJm4Gvthc16QhlglJJzIZ4apquShR7XAN+aI8V6jrLJ BpTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Gge3Lrrj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id lz14si7083559ejb.65.2020.07.18.07.34.42; Sat, 18 Jul 2020 07:35:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Gge3Lrrj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726801AbgGROdv (ORCPT + 99 others); Sat, 18 Jul 2020 10:33:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:58500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726574AbgGROdu (ORCPT ); Sat, 18 Jul 2020 10:33:50 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 843B22064B; Sat, 18 Jul 2020 14:33:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595082830; bh=aGwpt6WMtqY5/WwIWAUClRDNeEjX6lZPDr9q46ZIAzA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Gge3LrrjfJKyzp//YFHSwSmJVxw7LfnupVN36U63PeAqSXkxRPKvxWsEHCV/LqNw7 m/EMa0BK62RgKjFd1YnGzoReJaUHRmQSSFzFAPtHYrefkFkPx6R4PFC+BFfN6pfmJH ukVYIi2uU1CsfI2Iw0+T2mhjS1OJ1/vJiOOEru3I= Date: Sat, 18 Jul 2020 15:33:45 +0100 From: Jonathan Cameron To: Lee Jones Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Andreas Brauchli , Pascal Sachs Subject: Re: [PATCH 05/30] iio: chemical: sgp30: Add description for sgp_read_cmd()'s 'duration_us' Message-ID: <20200718153345.0a6a5720@archlinux> In-Reply-To: <20200716135928.1456727-6-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> <20200716135928.1456727-6-lee.jones@linaro.org> X-Mailer: Claws Mail 3.17.5 (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 Thu, 16 Jul 2020 14:59:03 +0100 Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member 'duration_us' not described in 'sgp_read_cmd' > > Cc: Andreas Brauchli > Cc: Pascal Sachs > Signed-off-by: Lee Jones Perhaps we can do better on the wording. > --- > drivers/iio/chemical/sgp30.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/chemical/sgp30.c b/drivers/iio/chemical/sgp30.c > index 403e8803471a9..82e407d48a0aa 100644 > --- a/drivers/iio/chemical/sgp30.c > +++ b/drivers/iio/chemical/sgp30.c > @@ -227,6 +227,7 @@ static int sgp_verify_buffer(const struct sgp_data *data, > * @cmd: SGP Command to issue > * @buf: Raw data buffer to use > * @word_count: Num words to read, excluding CRC bytes > + * @duration_us: Time to sleep in microseconds Time taken to sensor to take a reading and data to be ready. Something like that maybe? I've not checked the datasheet but from code that looks to be what this describes.. Jonathan > * > * Return: 0 on success, negative error otherwise. > */