Skip to contentSkip to conversation

linux-next: build failure after merge of the input tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Oct 25, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the input tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/input/keyboard/stmpe-keypad.c: In function 'stmpe_keypad_probe':
drivers/input/keyboard/stmpe-keypad.c:353:9: error: implicit declaration of function 'of_property_read_u32' [-Werror=implicit-function-declaration]

  353 |         of_property_read_u32(np, "debounce-interval", &keypad->debounce_ms);
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/input/keyboard/stmpe-keypad.c:355:33: error: implicit declaration of function 'of_property_read_bool' [-Werror=implicit-function-declaration]
  355 |         keypad->no_autorepeat = of_property_read_bool(np, "st,no-autorepeat");
      |                                 ^~~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors

Caused by commit

8b96465c93a8 ("Input: matrix_keypad - replace header inclusions by forward declarations")

I have used the input tree from next-20221024 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 12 lines · Stephen Rothwell

Hi all,

After merging the input tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/input/keyboard/stmpe-keypad.c: In function 'stmpe_keypad_probe':
drivers/input/keyboard/stmpe-keypad.c:353:9: error: implicit declaration of function 'of_property_read_u32' [-Werror=implicit-function-declaration]

  353 |         of_property_read_u32(np, "debounce-interval", &keypad->debounce_ms);
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/input/keyboard/stmpe-keypad.c:355:33: error: implicit declaration of function 'of_property_read_bool' [-Werror=implicit-function-declaration]
  355 |         keypad->no_autorepeat = of_property_read_bool(np, "st,no-autorepeat");
      |                                 ^~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines

cc1: all warnings being treated as errors

Caused by commit

8b96465c93a8 ("Input: matrix_keypad - replace header inclusions by forward declarations")

I have used the input tree from next-20221024 for today.

Thanks, I'll fix this up.

Signature · 1 line
Dmitry