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/[email protected]/config) compiler: m68k-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251108/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ 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
