Re: linux-next: Tree for Jun 28 (power/reset/reboot-mode)
From: Randy Dunlap
Date: Fri Jun 28 2019 - 19:47:32 EST
On 6/28/19 3:38 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20190627:
>
on x86_64:
when CONFIG_OF is not set/enabled, but
CONFIG_NVMEM_REBOOT_MODE=m selects REBOOT_MODE:
CC [M] drivers/power/reset/reboot-mode.o
../drivers/power/reset/reboot-mode.c: In function ‘reboot_mode_register’:
../drivers/power/reset/reboot-mode.c:72:2: error: implicit declaration of function ‘for_each_property_of_node’ [-Werror=implicit-function-declaration]
for_each_property_of_node(np, prop) {
^
../drivers/power/reset/reboot-mode.c:72:38: error: expected ‘;’ before ‘{’ token
for_each_property_of_node(np, prop) {
^
../drivers/power/reset/reboot-mode.c:109:1: warning: label ‘error’ defined but not used [-Wunused-label]
error:
^
../drivers/power/reset/reboot-mode.c:67:9: warning: unused variable ‘len’ [-Wunused-variable]
size_t len = strlen(PREFIX);
^
../drivers/power/reset/reboot-mode.c: At top level:
../drivers/power/reset/reboot-mode.c:42:12: warning: ‘reboot_mode_notify’ defined but not used [-Wunused-function]
static int reboot_mode_notify(struct notifier_block *this,
^
--
~Randy