From: kernel test robot <lkp@intel.com>
To: Eslam Khafagy <eslam.medhat1993@gmail.com>,
linus.walleij@linaro.org, maarten.lankhorst@linux.intel.com,
mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com,
simona@ffwll.ch
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Eslam Khafagy <eslam.medhat1993@gmail.com>
Subject: Re: [PATCH RESEND] drm: pl111: replace dev_* print functions with drm_* variants
Date: Mon, 24 Nov 2025 19:17:50 +0800 [thread overview]
Message-ID: <202511241828.LSkH7pqE-lkp@intel.com> (raw)
In-Reply-To: <20251122004951.567753-1-eslam.medhat1993@gmail.com>
Hi Eslam,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on linus/master v6.18-rc7 next-20251121]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Eslam-Khafagy/drm-pl111-replace-dev_-print-functions-with-drm_-variants/20251122-085225
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/r/20251122004951.567753-1-eslam.medhat1993%40gmail.com
patch subject: [PATCH RESEND] drm: pl111: replace dev_* print functions with drm_* variants
config: arm-nhk8815_defconfig (https://download.01.org/0day-ci/archive/20251124/202511241828.LSkH7pqE-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251124/202511241828.LSkH7pqE-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/202511241828.LSkH7pqE-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/pl111/pl111_nomadik.c:7:
drivers/gpu/drm/pl111/pl111_nomadik.h:11:32: warning: declaration of 'struct drm_device' will not be visible outside of this function [-Wvisibility]
11 | void pl111_nomadik_init(struct drm_device *dev);
| ^
drivers/gpu/drm/pl111/pl111_nomadik.c:12:32: warning: declaration of 'struct drm_device' will not be visible outside of this function [-Wvisibility]
12 | void pl111_nomadik_init(struct drm_device *dev)
| ^
>> drivers/gpu/drm/pl111/pl111_nomadik.c:12:6: error: conflicting types for 'pl111_nomadik_init'
12 | void pl111_nomadik_init(struct drm_device *dev)
| ^
drivers/gpu/drm/pl111/pl111_nomadik.h:11:6: note: previous declaration is here
11 | void pl111_nomadik_init(struct drm_device *dev);
| ^
>> drivers/gpu/drm/pl111/pl111_nomadik.c:34:2: error: call to undeclared function 'drm_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
34 | drm_info(dev, "set Nomadik PMU mux to CLCD mode\n");
| ^
2 warnings and 2 errors generated.
vim +/pl111_nomadik_init +12 drivers/gpu/drm/pl111/pl111_nomadik.c
> 7 #include "pl111_nomadik.h"
8
9 #define PMU_CTRL_OFFSET 0x0000
10 #define PMU_CTRL_LCDNDIF BIT(26)
11
> 12 void pl111_nomadik_init(struct drm_device *dev)
13 {
14 struct regmap *pmu_regmap;
15
16 /*
17 * Just bail out of this is not found, we could be running
18 * multiplatform on something else than Nomadik.
19 */
20 pmu_regmap =
21 syscon_regmap_lookup_by_compatible("stericsson,nomadik-pmu");
22 if (IS_ERR(pmu_regmap))
23 return;
24
25 /*
26 * This bit in the PMU controller multiplexes the two graphics
27 * blocks found in the Nomadik STn8815. The other one is called
28 * MDIF (Master Display Interface) and gets muxed out here.
29 */
30 regmap_update_bits(pmu_regmap,
31 PMU_CTRL_OFFSET,
32 PMU_CTRL_LCDNDIF,
33 0);
> 34 drm_info(dev, "set Nomadik PMU mux to CLCD mode\n");
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-11-24 11:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20251122004951.567753-1-eslam.medhat1993@gmail.com>
2025-11-24 8:27 ` [PATCH RESEND] drm: pl111: replace dev_* print functions with drm_* variants kernel test robot
2025-11-24 11:17 ` kernel test robot [this message]
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=202511241828.LSkH7pqE-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=eslam.medhat1993@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox