From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> To: rui.zhang@intel.com, edubezval@gmail.com Cc: linux-pm@vger.kernel.org, linux-sh@vger.kernel.org, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Subject: [PATCH 2/2] thermal: rcar: change type of ctemp in rcar_thermal_update_temp() Date: Tue, 06 Jan 2015 10:02:08 +0000 [thread overview] Message-ID: <1420538528-5236-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> (raw) In-Reply-To: <1420538528-5236-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> Since the ctemp is used for rcar_thermal_write() in rcar_thermal_update_temp(), the type of ctemp should be "u32" instead of "int". Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- drivers/thermal/rcar_thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index bbdf64e..6dcead1 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c @@ -63,7 +63,7 @@ struct rcar_thermal_priv { struct mutex lock; struct list_head list; int id; - int ctemp; + u32 ctemp; }; #define rcar_thermal_for_each_priv(pos, common) \ @@ -145,7 +145,7 @@ static int rcar_thermal_update_temp(struct rcar_thermal_priv *priv) { struct device *dev = rcar_priv_to_dev(priv); int i; - int ctemp, old, new; + u32 ctemp, old, new; int ret = -EINVAL; mutex_lock(&priv->lock); -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> To: rui.zhang@intel.com, edubezval@gmail.com Cc: linux-pm@vger.kernel.org, linux-sh@vger.kernel.org, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Subject: [PATCH 2/2] thermal: rcar: change type of ctemp in rcar_thermal_update_temp() Date: Tue, 6 Jan 2015 19:02:08 +0900 [thread overview] Message-ID: <1420538528-5236-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> (raw) In-Reply-To: <1420538528-5236-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> Since the ctemp is used for rcar_thermal_write() in rcar_thermal_update_temp(), the type of ctemp should be "u32" instead of "int". Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- drivers/thermal/rcar_thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index bbdf64e..6dcead1 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c @@ -63,7 +63,7 @@ struct rcar_thermal_priv { struct mutex lock; struct list_head list; int id; - int ctemp; + u32 ctemp; }; #define rcar_thermal_for_each_priv(pos, common) \ @@ -145,7 +145,7 @@ static int rcar_thermal_update_temp(struct rcar_thermal_priv *priv) { struct device *dev = rcar_priv_to_dev(priv); int i; - int ctemp, old, new; + u32 ctemp, old, new; int ret = -EINVAL; mutex_lock(&priv->lock); -- 1.7.9.5
next prev parent reply other threads:[~2015-01-06 10:02 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-01-06 10:02 [PATCH 0/2] thermal: rcar: minor fixes Yoshihiro Shimoda 2015-01-06 10:02 ` Yoshihiro Shimoda 2015-01-06 10:02 ` [PATCH 1/2] thermal: rcar: fix ENR register value Yoshihiro Shimoda 2015-01-06 10:02 ` Yoshihiro Shimoda 2015-01-06 10:53 ` Geert Uytterhoeven 2015-01-06 10:53 ` Geert Uytterhoeven 2015-01-06 11:13 ` yoshihiro shimoda 2015-01-06 11:13 ` yoshihiro shimoda 2015-01-06 10:02 ` Yoshihiro Shimoda [this message] 2015-01-06 10:02 ` [PATCH 2/2] thermal: rcar: change type of ctemp in rcar_thermal_update_temp() Yoshihiro Shimoda 2015-01-06 10:55 ` Geert Uytterhoeven 2015-01-06 10:55 ` Geert Uytterhoeven 2015-01-06 13:03 ` Eduardo Valentin 2015-01-06 13:03 ` Eduardo Valentin 2015-01-07 0:26 ` yoshihiro shimoda 2015-01-07 0:26 ` yoshihiro shimoda
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1420538528-5236-3-git-send-email-yoshihiro.shimoda.uh@renesas.com \ --to=yoshihiro.shimoda.uh@renesas.com \ --cc=edubezval@gmail.com \ --cc=linux-pm@vger.kernel.org \ --cc=linux-sh@vger.kernel.org \ --cc=rui.zhang@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.