Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp452258lqp; Sun, 9 Jun 2024 04:01:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWeNSou0CP5QlJRtRuOmH45p8MXx+FU0o6m0npwGrFY9R3dF0e7PiqfSb0dpninJ8s1S1ZUkCTt08EtKSkQtU4/xSH2MtbBoBfozndBjg== X-Google-Smtp-Source: AGHT+IEvppbFTtK5ZeVgl1qGqtndf56pXnNHHVvUQVYrBn/c99bjVkZbCXlm2kbdT0VpS4YLUt5p X-Received: by 2002:a05:6a21:150b:b0:1b6:d9ae:daad with SMTP id adf61e73a8af0-1b6d9aedbdbmr1247780637.19.1717930895588; Sun, 09 Jun 2024 04:01:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717930895; cv=pass; d=google.com; s=arc-20160816; b=i2s8SzR8a9Z1aXeJKYa77l2WmsDW6iyLyWxxLPKR0SE3wqPxnpVuKIT5xjyvSGG3kI m/9jzvmbnaZXgvqbywbGTXOJ5cwnmQOMa3JDujBJjkPV5DBVdp95Tg2ttMsewkPFjxcG XreOT7ux6jHWubQqM0bwjbPQMiZcwcYWwC4dJ/01kiDAWBCbSSpMVfJyZxa4zWWSy8BT r1z/Vt2IdZHBPItWFyfiCpswOn776OSJjgx42N1KBJJvS2St3oNdvZHm7PCVDavd2SXw yRkVjftx0xbEiO6Dmy1Hso7YECWyhQCjlpSHzwNYdkOmsWstZQ4xDKpQaSAmj7KZCLfd W7/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=iMams/dMIRHMFNwcoGqwt2xX4rEV0i4fkAB9ZAybqlA=; fh=Cd8u3PZDjy+Y8BQ+XI/2jO6YK3iYo3PiYmPQg6yMRwM=; b=F4zbqQs3ikNFx+rd6gYc8DmleO5s9Atl9ImxVvvV/8u17S8UQfVVmI2SirSS3Qwl/U zV7olHyixxWJy9XdXfppsKZkP6XLkmG+QbFpn933PHNivzjGuAX+9a79lsO4UwkjVN9u rq7REPTmTTCuIBoE5a5rdajCAmTwMUvpJcAaoxZUNf4z/hOAgfdtekUP8S0uOUOdVEUA AlBiXy4qdPufHIi25g0SIJzkAFAlQeubpqBlKdwgWoUsx14WgTOsr8v3+EScHci0mfy6 RUuddzN8g2jPyun6qn1u+L5LxQX7znpVblElzT/tUnLXmdXfiA09kEhK1QZpt9cay7Kh AUZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HABvmus5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6ec5074f4e8si626096a12.644.2024.06.09.04.01.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 04:01:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HABvmus5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0354C2816F2 for ; Sun, 9 Jun 2024 11:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 716B52C6AE; Sun, 9 Jun 2024 11:01:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HABvmus5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99EFB13FF6; Sun, 9 Jun 2024 11:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717930883; cv=none; b=EVvY3v/3Oha6ax6Xku6PdbWwVCkKkS0YmIv8+EwJEnuMYhJzwEfY52ykuC8AKKBfQ2XawYWaMLW92P1ioKJlSMn+c34PdW9w+T1R6feLNz7hhocjydPvgLTR/W+wxEsw+HjW5hihL552DxnnGw7yICImjW+4Ptv3AyVMZl+D/lE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717930883; c=relaxed/simple; bh=AhEa2OH8Q5CkYiNwsnP3WrKE9riUXshFmOwpff18gGU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Il5nOpXcgfrlq9d8Xcfej9SlMz8jvkNMSNHJzOjDl/FEzHXTsQBYwfl3HekXgtQzUsfyFeoSpPpKnl8VMiWXpsvXavxvX3phxpQ/zSpKC426WKNa+KaM8QSYXYXls9LfpefSJi6aFh3ZtKx9iknobXc5R6RdGHayFQavj3v20/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HABvmus5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 397C4C2BD10; Sun, 9 Jun 2024 11:01:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717930883; bh=AhEa2OH8Q5CkYiNwsnP3WrKE9riUXshFmOwpff18gGU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HABvmus5FqzeGpoNNYoP/0wSBYL9UOQA2zlsDWiJ8yiYhrawMq2/65U3izS7orvVd kcOM4tm5dIFceZLl7kHeY2cTd7jVeWtQNmkLEeb2+Db2TI5vUKa262ex9+tFYYa+OK +b7TET8ZR5liffZwSdSwFdqUITRe1hepYJdtTg0F+IQiGuoErGuwTZJInhgFskDXt/ lEFOu2Kiwh0hUt0pojt/QW+aCoNXy4U3bZ8ukP5FIc94a8d0eqOET+ps/Vz5l4tYQm NXrMAn8FY65TDOaYXs9HV7pNAQcQAKoeEGHReXg6rXQE3RVQQIuHC3gyEyfmmskre2 K5giJUQPSSeHA== Date: Sun, 9 Jun 2024 12:00:52 +0100 From: Jonathan Cameron To: Vasileios Amoiridis Cc: dpfrey@gmail.com, himanshujha199640@gmail.com, lars@metafoo.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, mike.looijmans@topic.nl Subject: Re: [PATCH v2 02/19] iio: chemical: bme680: Fix calibration data variable Message-ID: <20240609120032.1bc6cbd7@jic23-huawei> In-Reply-To: <20240606212313.207550-3-vassilisamir@gmail.com> References: <20240606212313.207550-1-vassilisamir@gmail.com> <20240606212313.207550-3-vassilisamir@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Thu, 6 Jun 2024 23:22:54 +0200 Vasileios Amoiridis wrote: > According to the BME68x Sensor API [1], the h6 calibration > data variable should be an unsigned integer of size 8. > > [1]: https://github.com/boschsensortec/BME68x_SensorAPI/blob/v4.4.8/bme68x_defs.h#L789 > Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor") > Signed-off-by: Vasileios Amoiridis Applied to the fixes-togreg branch of iio.git and marked for stable. > --- > drivers/iio/chemical/bme680_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/chemical/bme680_core.c b/drivers/iio/chemical/bme680_core.c > index 2c40c13fe97a..812829841733 100644 > --- a/drivers/iio/chemical/bme680_core.c > +++ b/drivers/iio/chemical/bme680_core.c > @@ -38,7 +38,7 @@ struct bme680_calib { > s8 par_h3; > s8 par_h4; > s8 par_h5; > - s8 par_h6; > + u8 par_h6; > s8 par_h7; > s8 par_gh1; > s16 par_gh2;