Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp556786img; Wed, 20 Mar 2019 06:21:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHhXTqwEwL/diPTzXh3/Bd0GqQb05xvj4NFiXtkorDcorjPq3pjCFE6XKL9zm/MygDALmU X-Received: by 2002:a17:902:848b:: with SMTP id c11mr7583123plo.279.1553088117519; Wed, 20 Mar 2019 06:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553088117; cv=none; d=google.com; s=arc-20160816; b=QcgwNLsVi8P1y5jVfsq8V/v86pP+PaK4gUtwszWTtJajM4Rn0AQaAirrB9bk0+lSCE d2mHgc+CJUCHWl0XpfzBh5RtvSfG3XdRx2j2qsAcAXexRL0fyt0PIcBzms2XjtpXsubQ 1wlIUSszq2MWMw1FDdQDEyFSdFNEvd8H6wi+7NjU6me9s12HHf6dzTGs3++M+5CClMbl rF9zbyPjNed/xPkhcJhohWKaMDt2HO8Nwsp1bPO9QRYLEeM2CtJ/OoGsb6QVoTa8PhX+ 13/kKPzBMb60a2uiavwtZ2HGgrYj0xl8Q6DKxol6yrDY9VS4gbbEHPfDj1Az6aMi/BZT f4WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=iB+qXWUd5MH36EuKW0QX1Zz13dgt3ZzYo72RTOcmlkQ=; b=OVFgJ0ns5lsTBnkznWezr+nfF5soF9FZrJ6ruPb88iDYmcSKt+e2YH9cR91V7vajCs yB47/5WP8jhR4P5KZSoYcT4EDF6xPlB71FhyJYpbC6jBtF1JFkmhbZziXT5SsgyYsPBr dJjvO5KZPGUmCNLIDy37rQytWTqKHxrRA/Isb0YXYsw1Db1wIkukJo8fEMIrk8VfoPMF j5L4W2yJC7Z8Hhh6P4MwIbzNDuOK0kxtjuVkSGdAxahv4AK8jV8LyF0AT1pOkTLztzhN soFYQAxdpG+lBrRhD8D7PkSqnX3MvfCdzxnXrPemSvKJnNQo48+e1x4aGZuZ1Xy7K+56 SKUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DY6eu9Mc; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 68si1620212pga.497.2019.03.20.06.21.41; Wed, 20 Mar 2019 06:21:57 -0700 (PDT) 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=@linaro.org header.s=google header.b=DY6eu9Mc; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728290AbfCTNT2 (ORCPT + 99 others); Wed, 20 Mar 2019 09:19:28 -0400 Received: from mail-pg1-f175.google.com ([209.85.215.175]:46914 "EHLO mail-pg1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728281AbfCTNT0 (ORCPT ); Wed, 20 Mar 2019 09:19:26 -0400 Received: by mail-pg1-f175.google.com with SMTP id a22so1767530pgg.13 for ; Wed, 20 Mar 2019 06:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=iB+qXWUd5MH36EuKW0QX1Zz13dgt3ZzYo72RTOcmlkQ=; b=DY6eu9MclZkFd44KfN7j4xlekZHvBA3SGIuQM1IU3TPaN1Spf2LlAijdNv0iN8eQ70 GMbyUiDxootoK0t9Q/lsU1Kir0b36qwyTkjQnoCO+0JzMB3k9LH9dxHRNwbWEIZF7If4 qY2HIjATzyPoPU9rXXureIAlp23fZ9lCltauSrmbj/jKhqJIgnjRV+bToXVWgh8dlXNw PilzJgR8l+TXHkDhRMhGTqQ1X3UP5EllaTe+xHkE23usF+1YWQT/117W9GSkK2/6ArH1 uFxTMxHAZTtLb/86T3PEigialP8HNHk0J6O8/XdBREqGNB1fpiQW0Vf4jCKeYUV/2yej Dtyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=iB+qXWUd5MH36EuKW0QX1Zz13dgt3ZzYo72RTOcmlkQ=; b=d7uPp6Sx5814MqX+gT9wsOEZRqzaufD+FTm4K5ZkujSJx9kPSyxm6sVqbsypgHPETV mqXwqf3POEzghw4wBUY/COGNxLUbK2awUvXshJlgmHj50iBOega22cU3eizzRVnk2Dil D31O0FfNAm+FJHHWbH8+vKv5CHBedyVd5Lt43pjZVmIj6LHqsacPKgvKcIYqxQIZBVnF WnRIdHVqmOiyXxAkMqKg8MKbfN8W9ISgkgbjvA/ghFp0tv0DBFvsj7U3xluN2gg0VPUu wq4EzH13QODBBj5eo9arkoLA7MAmlllNdaQUUQNjYOUGoRabA8EDFs9HiLKndHUymPG8 6Gkg== X-Gm-Message-State: APjAAAXny1mXFDjM+KfnDuYVD+eZ4jLH7sBFueG5VS4kqTw71UIFYRmS 8XCT9ETFfgn7T/a4+QOIsBpwgcYtWFE= X-Received: by 2002:a17:902:8d97:: with SMTP id v23mr8218944plo.274.1553087965649; Wed, 20 Mar 2019 06:19:25 -0700 (PDT) Received: from localhost ([114.143.122.221]) by smtp.gmail.com with ESMTPSA id u62sm7589873pfa.124.2019.03.20.06.19.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Mar 2019 06:19:25 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, Daniel Lezcano , David Brown , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCHv3 14/23] drivers: thermal: tsens: change data type for sensor IDs Date: Wed, 20 Mar 2019 18:47:54 +0530 Message-Id: <5b21bbc7e331a4ee415b62e8cb78ada953c98278.1553086065.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The IDs cannot be negative, fix the data type. Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index a3bf7de88ae8..527c42cfd2d5 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h @@ -35,8 +35,8 @@ struct tsens_sensor { struct tsens_priv *priv; struct thermal_zone_device *tzd; int offset; - int id; - int hw_id; + unsigned int id; + unsigned int hw_id; int slope; u32 status; }; -- 2.17.1