From: kernel test robot <lkp@intel.com>
To: sofus <sofus.c@icloud.com>
Cc: oe-kbuild-all@lists.linux.dev, Janne Grunau <j@jannau.net>
Subject: [asahilinux:bits/240-isp 64/94] drivers/media/platform/apple/avd/avd-av1.c:115:33: error: implicit declaration of function 'FIELD_PREP'
Date: Fri, 30 Oct 2026 19:04:58 +0800 [thread overview]
Message-ID: <202610301818.R2SvaVvI-lkp@intel.com> (raw)
Hi sofus,
FYI, the error/warning still remains.
tree: https://github.com/AsahiLinux/linux bits/240-isp
head: 2e6ef8294919b4bd7b23756d836b447b0b4ffb5f
commit: dc36ed8c5961b2c2cfb9d6badfd6fc8877d347b6 [64/94] media: apple: avd: add av1 support
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20261030/202610301818.R2SvaVvI-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261030/202610301818.R2SvaVvI-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/202610301818.R2SvaVvI-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/media/platform/apple/avd/avd-av1.c:27:
drivers/media/platform/apple/avd/avd-av1.c: In function 'set_refs':
>> drivers/media/platform/apple/avd/avd-av1.c:115:33: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
115 | #define AV1_GM_TYPE(v) FIELD_PREP(GENMASK(31, 30), 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-av1.c:315:30: note: in expansion of macro 'AV1_GM_TYPE'
315 | push(AV1_GM_TYPE(gm->type[ref_idx]) |
| ^~~~~~~~~~~
drivers/media/platform/apple/avd/avd-av1.c: In function 'set_header':
drivers/media/platform/apple/avd/avd-av1.c:586:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
586 | frame->upscaled_width - 1, "upscaled_width");
| ~~~~~~~~~~~~~~~~~~~~~~^~~
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)
| ^~~~
vim +/FIELD_PREP +115 drivers/media/platform/apple/avd/avd-av1.c
113
114 #define AV1_GM_VALID(v) FIELD_PREP(BIT(30), !!(v))
> 115 #define AV1_GM_TYPE(v) FIELD_PREP(GENMASK(31, 30), v)
116 #define AV1_GM_PARAM0(v) FIELD_PREP(GENMASK(29, 15), v)
117 #define AV1_GM_PARAM1(v) FIELD_PREP(GENMASK(14, 0), v)
118
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-30 11:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610301818.R2SvaVvI-lkp@intel.com \
--to=lkp@intel.com \
--cc=j@jannau.net \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sofus.c@icloud.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.