Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp586215lqj; Sun, 2 Jun 2024 12:17:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhQadt+5KH3D/+8Pp3G7lfLsaI85kX5okn6nenfuRlyt15XC/qVfNzmjGVMhjA9AbMs6r0B/+yR0wDnlBOUonoxQHrEsjPlejhDm2D7Q== X-Google-Smtp-Source: AGHT+IHWOgtx/ECShhqQ9kmd9C7q0DY0RovPIf8A9PBJvDxHAIpf0KcnU0aDLnZP3ptidkVZhY8b X-Received: by 2002:ae9:c30f:0:b0:78f:1040:52ed with SMTP id af79cd13be357-794f4fe7e5emr1181041085a.39.1717355851301; Sun, 02 Jun 2024 12:17:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717355851; cv=pass; d=google.com; s=arc-20160816; b=B0fiotQbW2OCxomvghrs8+JDyXyP/bmAojSu6P/zJYbhwNGGW31r6WBLnLmAinH220 kCnWGD8rahowsaehuem7NxPRl+W/tW64yaNeJxJJpyFsRIvK13a1Dju4+d+4qu28EuF4 u4mpcW1fi9BUFcskOq30LnVHqiOrziv+shA0SAm9wYv6UZLY0hWnyHebFjocn5bD+SFL mddrlyCxwtYGOfuJqDXCHstFgbkTQME8a3YrYQ8z63dqTQ3XX0TmLKWpKzqL66ncrLA8 IlwaykIQvIlF3PerJLpF2cqRIEC2uFsd9AMqJwNvcIbby3ZuNcxk6C4jhj3Kw8MDos3V +PLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:date:from:dkim-signature; bh=HPpc1cNXUJlKcHgb3iTHYZlBD481psTql015HQxevII=; fh=0N7J+pt3nezEBZORAxA0uJNCZaI9cF9EKG9ILLOUqF4=; b=Kp8tR37ZEG5jKLdftHiGV5+3kD8Jy2zxog4xO5G7ULYJOs7cSZ5SMvPtnzAwozIEi4 mCi2Z5kMJlv4A3r7gFNjtyMLY+CtO0i0Q2M/uWSCIZIoWjut+QCsRw5QhCzel24PzhLd rTpspuap2n96gUFeKZjGU6ltTlvWF12Nvyt/7z7HLLCidvmIbCtxFL1nEada4tZx8N42 f5hpX9y1uJKyDHlP0Wzi7W40c8/hBRxHV+cLvtrPO7gGASYsv/ytkjoA0ebzVbZetHQb Psyy7nunHgk4t6pQKNDPWAjCURZP9vdHHg1HV1Ee/QkVspfk5+wHgNQhyDjOmEIVTtZR 9jrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l/e6RU5O"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198388-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794f3062e67si784084285a.227.2024.06.02.12.17.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 12:17:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198388-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l/e6RU5O"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198388-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0902C1C21631 for ; Sun, 2 Jun 2024 19:17:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFDC86EB7C; Sun, 2 Jun 2024 19:17:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l/e6RU5O" Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86B0D219E4; Sun, 2 Jun 2024 19:17:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717355844; cv=none; b=lwzoZoJXoxqKiGRv/Vqse+yjWy8SQwaT9ME51UfVhMgdrrn6IIoFGQU/j74Ef4AiM5LEyW0uBxF5qHJZsO/Cp0uIhyWR+Y5o0jkC9ZQqvsMeypaPTc3SGv+FIscdWTYd2KXaenngzKjWfDCGt+voEEZB9oV4VW5Tc5rs3ima19c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717355844; c=relaxed/simple; bh=2TBWg/+qwWR97iXfi+OuCUPcDnucc4D2yfjxL8zhdmA=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uDwcP3tVLyJP5u/yW9b5KUSFFqQJvzc8M1M7ooD4SMQrYW2hoDU4imo0ZoXQOVY7IGfFXPXI6nfnRFR9MZHvDAa/PbQn3n5kanhWXK6NWuIa4Na2NGIPSSxXYqf73rUbIx4/sgBmF0Oxbd/R9r0hT57ozCGDT8uuu6P0hDKTmq8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=l/e6RU5O; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42121d28664so31901995e9.2; Sun, 02 Jun 2024 12:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717355841; x=1717960641; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=HPpc1cNXUJlKcHgb3iTHYZlBD481psTql015HQxevII=; b=l/e6RU5OahozqghSOdTGWJFT9UHjRBt1wvn9GLTipYkzDRcJl9yh1F+V7k9ztDldUf 6YvL7u8yO8ohRxyv07wabVEYfIy4IGiHQJ8yYcG41jbG4uWOuhbvvaHqgisn9MgJUY43 rna8usr/+Am/LBxLzjmtUwMAF+f++CjaGLl5DamJtV9At+UgHxW1h+FbJX42QGVmEcYe kHf2SQwlqgtFcOMyd7bGxw8vR7f0A6z/9Q7t8bS1mm+v1eRQ1WS+WYx2H5glcwi9XgwL 6eXNZIm/yJTN82ANvNiwpSJIg3fkpoH+lJoa0tpjPT0BmTA1r9dC233OWlsMoE5G6mLg R5jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717355841; x=1717960641; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HPpc1cNXUJlKcHgb3iTHYZlBD481psTql015HQxevII=; b=IYlKd+esvAEHlXK5t0TArxoAhN2YTrBObVweH/3ME+aPgvjTnH8SSDgnduxrM2BxhL aICCFlEByfNkDXv5rVBz+bDdkScCPFGSL17zv438kXDsofs1YwpmxVAoWooKWgKypWoW Me+MJehO8trDp1o6N9eOjb6Kmjvry32n88J7bcQF9JWa4sq1ST0mtTEjfejRQMwJkxbf eUv9MeIhBZklLoAfm/UhGob9pHHcodtjAh4CYxLCILNvwjd3U1S7QHZ8jpqqjCtx9ev0 v9yqMmn9XWgLfYvYWLk5V/cpBALD9YBB3MyVkg7FJUS20DDJgy18Z6WGn4bkGbSV3x8E qsRQ== X-Forwarded-Encrypted: i=1; AJvYcCWZ8nK8VWFKGSFG6QTbbjQ99iFMt2jREYcBJN09EDv58B26O+bqHtaxkZ/ngii5ndoyuV8fW+UyyPwYTOB1YTx3o9DntO5FKMg7j020uWuPK6XBN1rQi7wnJco2T97BmqU5RwDPQkzp X-Gm-Message-State: AOJu0Yyl2L/l/nDoOiD4yKh4kSu8mdxp6o9hrH+AgZ8IV6rP9eV76ujp rWQ2296YxST4GZO4hJvLTAlpEcxSy7W0Mw88mnu+cW/ouofjCy7Q X-Received: by 2002:a05:600c:1d82:b0:418:2a57:380c with SMTP id 5b1f17b1804b1-4212e0ae95emr56859425e9.26.1717355840440; Sun, 02 Jun 2024 12:17:20 -0700 (PDT) Received: from vamoiridPC ([2a04:ee41:82:7577:add1:b1ad:7182:3e90]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42138260c5asm46317845e9.41.2024.06.02.12.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 12:17:20 -0700 (PDT) From: Vasileios Amoiridis X-Google-Original-From: Vasileios Amoiridis Date: Sun, 2 Jun 2024 21:17:18 +0200 To: Jonathan Cameron Cc: Vasileios Amoiridis , lars@metafoo.de, himanshujha199640@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 05/17] iio: chemical: bme680: Fix type in define Message-ID: <20240602191718.GB387181@vamoiridPC> References: <20240527183805.311501-1-vassilisamir@gmail.com> <20240527183805.311501-6-vassilisamir@gmail.com> <20240602134150.6cdf01af@jic23-huawei> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240602134150.6cdf01af@jic23-huawei> On Sun, Jun 02, 2024 at 01:41:50PM +0100, Jonathan Cameron wrote: > On Mon, 27 May 2024 20:37:53 +0200 > Vasileios Amoiridis wrote: > Patch title "type" should be "typo". :) > Ah, you are right thanks for pointing this out! Cheers, Vasilis > > Fix a define typo that instead of BME680_... it is > > saying BM6880_... > > > > Signed-off-by: Vasileios Amoiridis > > --- > > drivers/iio/chemical/bme680.h | 2 +- > > drivers/iio/chemical/bme680_core.c | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h > > index 4edc5d21cb9f..3133d624270a 100644 > > --- a/drivers/iio/chemical/bme680.h > > +++ b/drivers/iio/chemical/bme680.h > > @@ -12,7 +12,7 @@ > > > > #define BME680_REG_TEMP_MSB 0x22 > > #define BME680_REG_PRESS_MSB 0x1F > > -#define BM6880_REG_HUMIDITY_MSB 0x25 > > +#define BME680_REG_HUMIDITY_MSB 0x25 > > #define BME680_REG_GAS_MSB 0x2A > > #define BME680_REG_GAS_R_LSB 0x2B > > #define BME680_GAS_STAB_BIT BIT(4) > > diff --git a/drivers/iio/chemical/bme680_core.c b/drivers/iio/chemical/bme680_core.c > > index dd2cd11b6dd3..8b42c4716412 100644 > > --- a/drivers/iio/chemical/bme680_core.c > > +++ b/drivers/iio/chemical/bme680_core.c > > @@ -719,7 +719,7 @@ static int bme680_read_humid(struct bme680_data *data, > > if (ret < 0) > > return ret; > > > > - ret = regmap_bulk_read(data->regmap, BM6880_REG_HUMIDITY_MSB, > > + ret = regmap_bulk_read(data->regmap, BME680_REG_HUMIDITY_MSB, > > &tmp, sizeof(tmp)); > > if (ret < 0) { > > dev_err(dev, "failed to read humidity\n"); >