From: Heiko Stuebner <heiko@sntech.de>
To: kernel test robot <lkp@intel.com>, Andy Yan <andy.yan@rock-chips.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [linux-next:master 7437/7719] drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:833:28: error: implicit declaration of function 'FIELD_PREP'
Date: Tue, 04 Mar 2025 08:39:49 +0100 [thread overview]
Message-ID: <4992403.31r3eYUQgx@phil> (raw)
In-Reply-To: <965c133c-9ef3-4186-b7c5-da7319ece845@rock-chips.com>
Hi Andy,
Am Dienstag, 4. März 2025, 04:40:47 MEZ schrieb Andy Yan:
> On 3/4/25 01:20, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head: cd3215bbcb9d4321def93fea6cfad4d5b42b9d1d
> > commit: 328e6885996ca2c6eb8b07d3c9bb1439fdcb088f [7437/7719] drm/rockchip: vop2: Add platform specific callback
> > config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20250304/202503040135.fgoyWdLB-lkp@intel.com/config)
> > compiler: alpha-linux-gcc (GCC) 14.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250304/202503040135.fgoyWdLB-lkp@intel.com/reproduce)
>
> I can't reproduce this error on arm64 defconfig, so this let me wonder that should we
> let drm/rockchip depends on ARCH_ROCKCHIP, so as to reduce the testing overhead on other
> unrelated platforms?
Hmm, depends.
Limiting Rockchip-drm to ARCH_ROCKCHIP || COMPILE_TEST could make sense,
as as you say, completely different architectures have absolute no use
for this driver.
But the error was real nevertheless. We should never rely on headers
getting included by accident. the vop2-reg.c change does introduces the use
of FIELD_PREP, so we should include the header ourself - as my change from
yesterday did. So the test-robot showed us an actual problem :-)
Heiko
next prev parent reply other threads:[~2025-03-04 7:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-03 17:20 [linux-next:master 7437/7719] drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:833:28: error: implicit declaration of function 'FIELD_PREP' kernel test robot
2025-03-04 3:40 ` Andy Yan
2025-03-04 7:39 ` Heiko Stuebner [this message]
2025-03-04 7:46 ` Andy Yan
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=4992403.31r3eYUQgx@phil \
--to=heiko@sntech.de \
--cc=andy.yan@rock-chips.com \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.