[PATCH] cpufreq: mvebu: fix integer to pointer cast
Ben Dooks
ben.dooks at codethink.co.uk
Wed Jun 8 01:59:26 PDT 2016
On 08/06/16 08:56, Mason wrote:
> On 07/06/2016 13:30, Ben Dooks wrote:
>
>> Fix the use of 0 instead of NULL to clk_get() call. This stops the
>> following warning:
>>
>> drivers/cpufreq/mvebu-cpufreq.c:73:40: warning: Using plain integer as NULL pointer
>
> May I ask which compiler/version produced that diagnostic?
I was running with "make C=2 bzImage" for ARM multi_v7_config
$ sparse --version
v0.5.0
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
More information about the linux-arm-kernel
mailing list