* [asahilinux:bits/240-isp 64/67] drivers/media/platform/apple/avd/avd-inst.h:141:41: error: implicit declaration of function 'FIELD_PREP'
@ 2026-08-09 7:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-09 7:52 UTC (permalink / raw)
To: sofus; +Cc: oe-kbuild-all, Janne Grunau
tree: https://github.com/AsahiLinux/linux bits/240-isp
head: 6b01d08e5d4d33d4a7cdfb1ecea6f78e295bfd75
commit: cbab401e27354c90eaa31798ca75eccfeb4b4d9c [64/67] media: apple: avd: define static values and bitmasks
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260809/202608091532.mBFstVAm-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260809/202608091532.mBFstVAm-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/202608091532.mBFstVAm-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/media/platform/apple/avd/avd-h264.c:24:
drivers/media/platform/apple/avd/avd-h264.c: In function 'stream_refs':
>> drivers/media/platform/apple/avd/avd-inst.h:141:41: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
141 | #define AVD_REF_NUM(v) FIELD_PREP(GENMASK(31, 28), v)
| ^~~~~~~~~~
drivers/media/platform/apple/avd/avd-inst.h:195:41: note: in definition of macro 'push'
195 | #define push(inst, name) push(avd, ctx, inst)
| ^~~~
drivers/media/platform/apple/avd/avd-h264.c:127:22: note: in expansion of macro 'AVD_REF_NUM'
127 | push(AVD_REF_NUM(run->num_valid - 1)
| ^~~~~~~~~~~
--
In file included from drivers/media/platform/apple/avd/avd-hevc.c:25:
drivers/media/platform/apple/avd/avd-hevc.c: In function 'stream_refs':
>> drivers/media/platform/apple/avd/avd-inst.h:141:41: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
141 | #define AVD_REF_NUM(v) FIELD_PREP(GENMASK(31, 28), v)
| ^~~~~~~~~~
drivers/media/platform/apple/avd/avd-inst.h:195:41: note: in definition of macro 'push'
195 | #define push(inst, name) push(avd, ctx, inst)
| ^~~~
drivers/media/platform/apple/avd/avd-hevc.c:125:22: note: in expansion of macro 'AVD_REF_NUM'
125 | push(AVD_REF_NUM(decode->num_active_dpb_entries - 1)
| ^~~~~~~~~~~
vim +/FIELD_PREP +141 drivers/media/platform/apple/avd/avd-inst.h
140
> 141 #define AVD_REF_NUM(v) FIELD_PREP(GENMASK(31, 28), v)
142 #define AVD_REF_FLAG_CONST FIELD_PREP(BIT(24), 1)
143 #define AVD_REF_FLAG_LONG(v) FIELD_PREP(BIT(17), !!(v))
144 #define AVD_REF_DELTA_POC(v) FIELD_PREP(GENMASK(16, 0), v)
145
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-09 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-09 7:52 [asahilinux:bits/240-isp 64/67] drivers/media/platform/apple/avd/avd-inst.h:141:41: error: implicit declaration of function 'FIELD_PREP' 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.