Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp317244imj; Thu, 7 Feb 2019 04:56:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IbWiiaCV93xPAonj3MFr/mmREaxcjWPJmbbJ5akvNJbrM4D5lCesq7lgtbaETQJQvFFToRt X-Received: by 2002:a17:902:c05:: with SMTP id 5mr16391329pls.155.1549544214240; Thu, 07 Feb 2019 04:56:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549544214; cv=none; d=google.com; s=arc-20160816; b=ztbGvXQgQmlV9K3oDbF7G2o6zYERJgVM89/9QMhyUXpw/MsGj4FUIAKSa3Pe+ZtxTT vx3uCAlzDpySdk4/EL1/08EKolinFIrShgMoZfgDxLBqCh8TVDlsjpn1EvLX5nBe42ce gdWWyePegIm4xDhmR42dqdJIogAAzUk7MyFUHv1BB8jpEdIyQf7N5Bw/61CDTIk+MnrP FrIgAunqFZTL0uUxYXslIjWq8U1zG8pMPMA2BmXgxB3KWuHApuHXH5ALfVgBs+XvubWI bCVF9uHihNfRq2290eN2KL/mva+GuXhbVZYpnpFXts+N7G+JaiPDDYrJJ4fvCK6RGmox RDrg== 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=Tf/kMCCdkeqQnWWFTTv8/xc1yH66O1Xq3Z4kaU9bVds=; b=eSs/Wc56rv0qJPiwKG1rqeS8u+asv8PLqxyQaB0tQJAA0d6bG1yad7yIRqNy29UG/t Oax4GXVQ5YfzoQOIr14bg9OQZFLBvi7AtzjMKPbfiCvtjqoyPmPOZ2U2fgrxIgUC9/fy uUWYe9KtqRBAb7y6+8KL9Oje6j6jcb1kJTTwJTXxa4k6Kb/WFaSv7Bz5O4wpGUZv9ewv wbsaQJcLsetL9q9cLCMh0dfYLbhDg4aFCxSmzmiwYSKIqiVtTTuBX2G056tQn/lmQDvX pPgoF9uPAXAdiK8kEbLL808/NyzCHM20FKy8I+GwOc9C77VMxnOTHp+2UI0n+azSMMx/ YoCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sU0v9qq5; 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 l7si9069253pfg.245.2019.02.07.04.56.38; Thu, 07 Feb 2019 04:56:54 -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=@linaro.org header.s=google header.b=sU0v9qq5; 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 S1727251AbfBGM4Y (ORCPT + 99 others); Thu, 7 Feb 2019 07:56:24 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:45034 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727138AbfBGM4X (ORCPT ); Thu, 7 Feb 2019 07:56:23 -0500 Received: by mail-pg1-f195.google.com with SMTP id y1so4441540pgk.11 for ; Thu, 07 Feb 2019 04:56:23 -0800 (PST) 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=Tf/kMCCdkeqQnWWFTTv8/xc1yH66O1Xq3Z4kaU9bVds=; b=sU0v9qq55wH6RZ1IqLcOLRepVD1ccpTpRFppGRa4VCWQUbnzgIyNWV+du9D14r6IXV SMAH+vcKVAmm7wXBodx14h8gf+pPYJQvfmjDQFjZVnjRPWSVqj/gYrLRmdAzFIqj0+nU aTPkmaRsbf3w1Getc4x67lOB4e3t3mlqED+pPmlTUEvtvxBh2P2NjzTgPROB1ONzvR+P GF1OMJalZfmh2MB/wiNatnsMQ27h3Iw/YKtQogXolYFRXwG2wfuLwGsSVK3aU/nvISFx GeTnAuoJx8f2jnSlqqzx18tO9y5VtExoyTRYCT//p0kVZcPs+1W9oRUrr8OqTetvmEgf Cvjw== 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=Tf/kMCCdkeqQnWWFTTv8/xc1yH66O1Xq3Z4kaU9bVds=; b=C6nA8K+yGh7cfSUN4moq9ylqJhkComuQraFKvHM0iVO43//38ht2NxWjEjwbHBvWfe xQcZx1JzlGXwjy0rwilg4Ca8T7xj/twnTJl1Ctt5KIbytTzdwTC+mddOnuQAU9fOcuN1 fZdyIeKHYLdy71NO8KWHmnQ0UZFh0a+t1RKx031ek1hnCciA7rr4XScYeDN0IUBcWwCj UjSbrfULhvdGbjLt5LSUcnIMIKZ8E6tw7XBQerHgeGVc9ocRyfcJvPBOErlGBUMnachN nDPQ9c4x5Re+5bqSm6/9p2cdrA+GNB2K4OccQPxXvBhNxzs0vfm+ny1uznTRsSZs6dGR YUUg== X-Gm-Message-State: AHQUAubYoh3uBcgZVFWLLU7VYopqSSWl7Sll0xIrf9i4siCPpcfjQQls L7g4XC6LVxe4Lk7tF6G3v3/qRz4vTSM= X-Received: by 2002:a63:1e17:: with SMTP id e23mr1052210pge.130.1549544182620; Thu, 07 Feb 2019 04:56:22 -0800 (PST) Received: from localhost ([2402:3a80:c80:4138:75dd:3900:1d90:762f]) by smtp.gmail.com with ESMTPSA id y6sm13045892pfd.104.2019.02.07.04.56.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 04:56:22 -0800 (PST) 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: [PATCH v1 15/24] drivers: thermal: tsens: change data type for sensor IDs Date: Thu, 7 Feb 2019 16:19:33 +0530 Message-Id: <86ff4442dc1cae50a5f63aaa06c831bd3ee76d9c.1549525708.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 da4cfb23dfe9..e0c1ca1a7467 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h @@ -29,8 +29,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