On 07/20/2018 01:32 AM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20180719:
> 

on i386 or x86_64:

when CONFIG_OF is not enabled, COMPILE_TEST is set:

../drivers/memory/jz4780-nemc.c: In function 'jz4780_nemc_num_banks':
../drivers/memory/jz4780-nemc.c:72:3: error: implicit declaration of function 
'of_read_number' [-Werror=implicit-function-declaration]
   bank = of_read_number(prop, 1);
   ^

<linux/of.h> does not have a stub for of_read_number() when CONFIG_OF is not set
(it has no way to return an error).


-- 
~Randy

Reply via email to