* [lpieralisi:b4/acpi-static-table-irq-probe-defer-v2 3/10] include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP'
@ 2026-11-21 0:04 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-11-21 0:04 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "too many reports for this commit"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Lorenzo Pieralisi <lpieralisi@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git b4/acpi-static-table-irq-probe-defer-v2
head: a75860f203b994ab67f8a876c7f568ac0f7f84c0
commit: 5df91ea5bcbef51cb967f3a07dd7c69c50681213 [3/10] ACPI: Introduce irq_get() for static fwnodes
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261121/20261121005445.XTnGDF7r-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/20261121005445.XTnGDF7r-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261121005445.XTnGDF7r-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from drivers/acpi/tables.c:19:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/acpi/property.c:16:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
drivers/acpi/property.c: At top level:
>> drivers/acpi/property.c:1791:12: error: static declaration of 'acpi_static_fwnode_irq_get' follows non-static declaration
1791 | static int acpi_static_fwnode_irq_get(const struct fwnode_handle *fwnode,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/acpi.h:92:5: note: previous declaration of 'acpi_static_fwnode_irq_get' with type 'int(const struct fwnode_handle *, unsigned int)'
92 | int acpi_static_fwnode_irq_get(const struct fwnode_handle *fwnode,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/acpi/property.c: In function 'acpi_static_fwnode_irq_get':
>> include/linux/acpi.h:75:9: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
75 | FIELD_GET(ACPI_STATIC_IRQ_TRIGGER_MASK, (flags))
| ^~~~~~~~~
drivers/acpi/property.c:1802:50: note: in expansion of macro 'ACPI_STATIC_IRQ_TRIGGER'
1802 | return acpi_register_gsi(NULL, irq->gsi, ACPI_STATIC_IRQ_TRIGGER(irq->flags),
| ^~~~~~~~~~~~~~~~~~~~~~~
--
In file included from sound/hda/controllers/intel.c:38:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/div64.h:27,
from arch/x86/include/asm/div64.h:100,
from include/linux/math.h:6,
from include/linux/delay.h:12,
from sound/hda/controllers/intel.c:23:
sound/hda/controllers/intel.c: At top level:
>> include/linux/compiler.h:200:82: error: expression in static assertion is not an integer
200 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);}))
| ^
include/linux/compiler.h:205:33: note: in expansion of macro '__BUILD_BUG_ON_ZERO_MSG'
205 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_array'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~~~~~~~~~~~
include/linux/moduleparam.h:544:20: note: in expansion of macro 'ARRAY_SIZE'
544 | = { .max = ARRAY_SIZE(array), .num = nump, \
| ^~~~~~~~~~
include/linux/moduleparam.h:528:9: note: in expansion of macro 'module_param_array_named'
528 | module_param_array_named(name, name, type, nump, perm)
| ^~~~~~~~~~~~~~~~~~~~~~~~
sound/hda/controllers/intel.c:127:1: note: in expansion of macro 'module_param_array'
127 | module_param_array(index, int, NULL, 0444);
| ^~~~~~~~~~~~~~~~~~
>> sound/hda/controllers/intel.c:106:12: warning: 'index' defined but not used [-Wunused-variable]
106 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
| ^~~~~
--
In file included from intel.c:38:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/div64.h:27,
from arch/x86/include/asm/div64.h:100,
from include/linux/math.h:6,
from include/linux/delay.h:12,
from intel.c:23:
intel.c: At top level:
>> include/linux/compiler.h:200:82: error: expression in static assertion is not an integer
200 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);}))
| ^
include/linux/compiler.h:205:33: note: in expansion of macro '__BUILD_BUG_ON_ZERO_MSG'
205 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_array'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~~~~~~~~~~~
include/linux/moduleparam.h:544:20: note: in expansion of macro 'ARRAY_SIZE'
544 | = { .max = ARRAY_SIZE(array), .num = nump, \
| ^~~~~~~~~~
include/linux/moduleparam.h:528:9: note: in expansion of macro 'module_param_array_named'
528 | module_param_array_named(name, name, type, nump, perm)
| ^~~~~~~~~~~~~~~~~~~~~~~~
intel.c:127:1: note: in expansion of macro 'module_param_array'
127 | module_param_array(index, int, NULL, 0444);
| ^~~~~~~~~~~~~~~~~~
intel.c:106:12: warning: 'index' defined but not used [-Wunused-variable]
106 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
| ^~~~~
vim +/FIELD_PREP +71 include/linux/acpi.h
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 69
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 70 #define ACPI_STATIC_IRQ_FLAGS(trigger, polarity) \
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 @71 (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 72 FIELD_PREP(ACPI_STATIC_IRQ_POLARITY_MASK, (polarity)))
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 73
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 74 #define ACPI_STATIC_IRQ_TRIGGER(flags) \
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 @75 FIELD_GET(ACPI_STATIC_IRQ_TRIGGER_MASK, (flags))
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 76 #define ACPI_STATIC_IRQ_POLARITY(flags) \
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 77 FIELD_GET(ACPI_STATIC_IRQ_POLARITY_MASK, (flags))
5df91ea5bcbef51 Lorenzo Pieralisi 2026-09-04 78
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* [lpieralisi:b4/acpi-static-table-irq-probe-defer-v2 3/10] include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP'
@ 2026-11-20 23:32 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-11-20 23:32 UTC (permalink / raw)
To: Lorenzo Pieralisi; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git b4/acpi-static-table-irq-probe-defer-v2
head: a75860f203b994ab67f8a876c7f568ac0f7f84c0
commit: 5df91ea5bcbef51cb967f3a07dd7c69c50681213 [3/10] ACPI: Introduce irq_get() for static fwnodes
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261121/20261121002930.1E4YJP1U-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/20261121002930.1E4YJP1U-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261121002930.1E4YJP1U-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/acpi/tables.c:19:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/acpi/property.c:16:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
drivers/acpi/property.c: At top level:
>> drivers/acpi/property.c:1791:12: error: static declaration of 'acpi_static_fwnode_irq_get' follows non-static declaration
1791 | static int acpi_static_fwnode_irq_get(const struct fwnode_handle *fwnode,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/acpi.h:92:5: note: previous declaration of 'acpi_static_fwnode_irq_get' with type 'int(const struct fwnode_handle *, unsigned int)'
92 | int acpi_static_fwnode_irq_get(const struct fwnode_handle *fwnode,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/acpi/property.c: In function 'acpi_static_fwnode_irq_get':
>> include/linux/acpi.h:75:9: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
75 | FIELD_GET(ACPI_STATIC_IRQ_TRIGGER_MASK, (flags))
| ^~~~~~~~~
drivers/acpi/property.c:1802:50: note: in expansion of macro 'ACPI_STATIC_IRQ_TRIGGER'
1802 | return acpi_register_gsi(NULL, irq->gsi, ACPI_STATIC_IRQ_TRIGGER(irq->flags),
| ^~~~~~~~~~~~~~~~~~~~~~~
--
In file included from sound/hda/controllers/intel.c:38:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/div64.h:27,
from arch/x86/include/asm/div64.h:100,
from include/linux/math.h:6,
from include/linux/delay.h:12,
from sound/hda/controllers/intel.c:23:
sound/hda/controllers/intel.c: At top level:
>> include/linux/compiler.h:200:82: error: expression in static assertion is not an integer
200 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);}))
| ^
include/linux/compiler.h:205:33: note: in expansion of macro '__BUILD_BUG_ON_ZERO_MSG'
205 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_array'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~~~~~~~~~~~
include/linux/moduleparam.h:544:20: note: in expansion of macro 'ARRAY_SIZE'
544 | = { .max = ARRAY_SIZE(array), .num = nump, \
| ^~~~~~~~~~
include/linux/moduleparam.h:528:9: note: in expansion of macro 'module_param_array_named'
528 | module_param_array_named(name, name, type, nump, perm)
| ^~~~~~~~~~~~~~~~~~~~~~~~
sound/hda/controllers/intel.c:127:1: note: in expansion of macro 'module_param_array'
127 | module_param_array(index, int, NULL, 0444);
| ^~~~~~~~~~~~~~~~~~
sound/hda/controllers/intel.c:106:12: warning: 'index' defined but not used [-Wunused-variable]
106 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
| ^~~~~
--
In file included from intel.c:38:
include/linux/acpi.h: In function 'acpi_static_fwnode_add_irq':
>> include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
71 | (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
| ^~~~~~~~~~
include/linux/acpi.h:126:22: note: in expansion of macro 'ACPI_STATIC_IRQ_FLAGS'
126 | irq->flags = ACPI_STATIC_IRQ_FLAGS(trigger, polarity);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/div64.h:27,
from arch/x86/include/asm/div64.h:100,
from include/linux/math.h:6,
from include/linux/delay.h:12,
from intel.c:23:
intel.c: At top level:
>> include/linux/compiler.h:200:82: error: expression in static assertion is not an integer
200 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);}))
| ^
include/linux/compiler.h:205:33: note: in expansion of macro '__BUILD_BUG_ON_ZERO_MSG'
205 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array(a), \
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_array'
11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~~~~~~~~~~~
include/linux/moduleparam.h:544:20: note: in expansion of macro 'ARRAY_SIZE'
544 | = { .max = ARRAY_SIZE(array), .num = nump, \
| ^~~~~~~~~~
include/linux/moduleparam.h:528:9: note: in expansion of macro 'module_param_array_named'
528 | module_param_array_named(name, name, type, nump, perm)
| ^~~~~~~~~~~~~~~~~~~~~~~~
intel.c:127:1: note: in expansion of macro 'module_param_array'
127 | module_param_array(index, int, NULL, 0444);
| ^~~~~~~~~~~~~~~~~~
intel.c:106:12: warning: 'index' defined but not used [-Wunused-variable]
106 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
| ^~~~~
vim +/FIELD_PREP +71 include/linux/acpi.h
69
70 #define ACPI_STATIC_IRQ_FLAGS(trigger, polarity) \
> 71 (FIELD_PREP(ACPI_STATIC_IRQ_TRIGGER_MASK, (trigger)) | \
72 FIELD_PREP(ACPI_STATIC_IRQ_POLARITY_MASK, (polarity)))
73
74 #define ACPI_STATIC_IRQ_TRIGGER(flags) \
> 75 FIELD_GET(ACPI_STATIC_IRQ_TRIGGER_MASK, (flags))
76 #define ACPI_STATIC_IRQ_POLARITY(flags) \
77 FIELD_GET(ACPI_STATIC_IRQ_POLARITY_MASK, (flags))
78
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-21 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21 0:04 [lpieralisi:b4/acpi-static-table-irq-probe-defer-v2 3/10] include/linux/acpi.h:71:10: error: implicit declaration of function 'FIELD_PREP' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-11-20 23:32 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.