[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180409115615.GA29946@ulmo>
Date: Mon, 9 Apr 2018 13:56:15 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: srplinux2008 <srplinux2008@...il.com>
Cc: jonathanh@...dia.com, linux-tegra@...r.kernel.org,
rui.zhang@...el.com, edubezval@...il.com,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH] thermal: tegra: soctherm: add const to struct
thermal_cooling_device_ops
On Sun, Apr 08, 2018 at 05:31:45PM +0530, srplinux2008 wrote:
> From: srp linux <srplinux2008@...il.com>
Looks like you haven't properly set up git. Try setting your real name
using:
$ git config user.name 'Your Name'
> Correct the typecast with const to struct thermal_cooling_device_ops.
> It is the last argument to the function thermal_of_cooling_device_register
> and this argument is of type const. So, declare this structure
> thermal_cooling_device_ops as constant.
>
> Signed-off-by: srp linux <srplinux2008@...il.com>
> ---
> drivers/thermal/tegra/soctherm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists