From: kernel test robot <lkp@intel.com>
To: Nilesh Laad <nilesh.laad@oss.qualcomm.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Marek Vasut <marex@denx.de>
Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Nilesh Laad <nilesh.laad@oss.qualcomm.com>,
venkata.valluru@oss.qualcomm.com, jessica.zhang@oss.qualcomm.com,
Yi Zhang <zhanyi@qti.qualcomm.com>,
Gopi Botlagunta <venkata.botlagunta@oss.qualcomm.com>
Subject: Re: [PATCH v2 2/2] drm/bridge: add support for lontium lt9211c bridge
Date: Sat, 8 Nov 2025 09:57:40 +0800 [thread overview]
Message-ID: <202511080928.8r4OmyWW-lkp@intel.com> (raw)
In-Reply-To: <20251107-add-lt9211c-bridge-v2-2-b0616e23407c@oss.qualcomm.com>
Hi Nilesh,
kernel test robot noticed the following build errors:
[auto build test ERROR on f50b969bafafb2810a07f376387350c4c0d72a21]
url: https://github.com/intel-lab-lkp/linux/commits/Nilesh-Laad/dt-bindings-bridge-lt9211c-Add-bindings/20251107-210546
base: f50b969bafafb2810a07f376387350c4c0d72a21
patch link: https://lore.kernel.org/r/20251107-add-lt9211c-bridge-v2-2-b0616e23407c%40oss.qualcomm.com
patch subject: [PATCH v2 2/2] drm/bridge: add support for lontium lt9211c bridge
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20251108/202511080928.8r4OmyWW-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251108/202511080928.8r4OmyWW-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/202511080928.8r4OmyWW-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/bridge/lontium-lt9211c.c: In function 'lt9211c_configure_rx':
>> drivers/gpu/drm/bridge/lontium-lt9211c.c:207:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
207 | ret = regmap_write(ctx->regmap, 0x8180, (pval & 0xfc | 0x03));
| ~~~~~^~~~~~
drivers/gpu/drm/bridge/lontium-lt9211c.c:227:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
227 | ret = regmap_write(ctx->regmap, 0x8530, (pval & 0xf8 | 0x11));
| ~~~~~^~~~~~
drivers/gpu/drm/bridge/lontium-lt9211c.c: In function 'lt9211c_autodetect_rx':
>> drivers/gpu/drm/bridge/lontium-lt9211c.c:253:12: warning: unused variable 'bc' [-Wunused-variable]
253 | u8 bc[3];
| ^~
drivers/gpu/drm/bridge/lontium-lt9211c.c: In function 'lt9211c_configure_tx':
drivers/gpu/drm/bridge/lontium-lt9211c.c:619:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
619 | ret = regmap_write(ctx->regmap, 0x8530, (pval & 0x3f | 0x40));
| ~~~~~^~~~~~
drivers/gpu/drm/bridge/lontium-lt9211c.c: At top level:
>> drivers/gpu/drm/bridge/lontium-lt9211c.c:918:35: error: initialization of 'int (*)(struct drm_bridge *, struct drm_encoder *, enum drm_bridge_attach_flags)' from incompatible pointer type 'int (*)(struct drm_bridge *, enum drm_bridge_attach_flags)' [-Wincompatible-pointer-types]
918 | .attach = lt9211c_attach,
| ^~~~~~~~~~~~~~
drivers/gpu/drm/bridge/lontium-lt9211c.c:918:35: note: (near initialization for 'lt9211c_funcs.attach')
drivers/gpu/drm/bridge/lontium-lt9211c.c:99:12: note: 'lt9211c_attach' declared here
99 | static int lt9211c_attach(struct drm_bridge *bridge,
| ^~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/lontium-lt9211c.c:920:35: error: initialization of 'void (*)(struct drm_bridge *, struct drm_atomic_state *)' from incompatible pointer type 'void (*)(struct drm_bridge *, struct drm_bridge_state *)' [-Wincompatible-pointer-types]
920 | .atomic_enable = lt9211c_atomic_enable,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/bridge/lontium-lt9211c.c:920:35: note: (near initialization for 'lt9211c_funcs.atomic_enable')
drivers/gpu/drm/bridge/lontium-lt9211c.c:777:13: note: 'lt9211c_atomic_enable' declared here
777 | static void lt9211c_atomic_enable(struct drm_bridge *bridge,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/bridge/lontium-lt9211c.c:921:35: error: initialization of 'void (*)(struct drm_bridge *, struct drm_atomic_state *)' from incompatible pointer type 'void (*)(struct drm_bridge *, struct drm_bridge_state *)' [-Wincompatible-pointer-types]
921 | .atomic_disable = lt9211c_atomic_disable,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/bridge/lontium-lt9211c.c:921:35: note: (near initialization for 'lt9211c_funcs.atomic_disable')
drivers/gpu/drm/bridge/lontium-lt9211c.c:857:13: note: 'lt9211c_atomic_disable' declared here
857 | static void lt9211c_atomic_disable(struct drm_bridge *bridge,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +918 drivers/gpu/drm/bridge/lontium-lt9211c.c
916
917 static const struct drm_bridge_funcs lt9211c_funcs = {
> 918 .attach = lt9211c_attach,
919 .mode_valid = lt9211c_mode_valid,
> 920 .atomic_enable = lt9211c_atomic_enable,
921 .atomic_disable = lt9211c_atomic_disable,
922 .atomic_duplicate_state = drm_atomic_helper_bridge_duplicate_state,
923 .atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
924 .atomic_get_input_bus_fmts = lt9211c_atomic_get_input_bus_fmts,
925 .atomic_reset = drm_atomic_helper_bridge_reset,
926 };
927
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-08 1:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 13:02 [PATCH v2 0/2] This series adds LT9211c bridge driver support Nilesh Laad
2025-11-07 13:02 ` [PATCH v2 1/2] dt-bindings: bridge: lt9211c: Add bindings Nilesh Laad
2025-11-07 17:45 ` Conor Dooley
2025-11-21 13:03 ` Dmitry Baryshkov
2025-11-07 13:02 ` [PATCH v2 2/2] drm/bridge: add support for lontium lt9211c bridge Nilesh Laad
2025-11-07 13:20 ` Marek Vasut
2025-11-07 13:52 ` Nilesh Laad
2025-11-07 15:11 ` Marek Vasut
2025-12-11 5:24 ` Gopi Botlagunta
2025-11-08 1:57 ` kernel test robot [this message]
2025-11-08 4:12 ` kernel test robot
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=202511080928.8r4OmyWW-lkp@intel.com \
--to=lkp@intel.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jessica.zhang@oss.qualcomm.com \
--cc=jonas@kwiboo.se \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marex@denx.de \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=nilesh.laad@oss.qualcomm.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=venkata.botlagunta@oss.qualcomm.com \
--cc=venkata.valluru@oss.qualcomm.com \
--cc=zhanyi@qti.qualcomm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox