Message ID | 20200906230452.33410-1-rikard.falkeborn@gmail.com |
---|---|
Headers | show |
Series | arm_scmi: Constify ops pointers in struct scmi_handle | expand |
Hi Viresh, On Mon, Sep 07, 2020 at 01:04:50AM +0200, Rikard Falkeborn wrote: > The perf_ops are not modified through this pointer. Make them const to > indicate that. This is in preparation to make the scmi-ops pointers in > scmi_handle const. > Your ack needed to take this as series via {arm-,}soc
On Mon, Sep 07, 2020 at 03:55:51PM +0530, Viresh Kumar wrote: > On 07-09-20, 11:22, Sudeep Holla wrote: > > Hi Viresh, > > > > On Mon, Sep 07, 2020 at 01:04:50AM +0200, Rikard Falkeborn wrote: > > > The perf_ops are not modified through this pointer. Make them const to > > > indicate that. This is in preparation to make the scmi-ops pointers in > > > scmi_handle const. > > > > > > > Your ack needed to take this as series via {arm-,}soc > > Can I just pick the first patch and you do the rest ? Will it result > in any warnings at either end ? > Initially I thought out suggesting the same, but then I realised(not checked though), without this change in arm-soc the scmi-cpufreq driver might produce warnings as the const value gets assigned to non const. No ? -- Regards, Sudeep