Re: linux-next: Tree for Jul 20 (drivers/memory/jz4780_nemc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux