[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202406120316.VAGmVBWN-lkp@intel.com>
Date: Wed, 12 Jun 2024 03:34:07 +0800
From: kernel test robot <lkp@...el.com>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
chunkuang.hu@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, robh@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
p.zabel@...gutronix.de, airlied@...il.com, daniel@...ll.ch,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org,
tzimmermann@...e.de, matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com, shawn.sung@...iatek.com,
yu-chang.lee@...iatek.com, ck.hu@...iatek.com,
jitao.shi@...iatek.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, wenst@...omium.org,
kernel@...labora.com, sui.jinfeng@...ux.dev, michael@...le.cc,
Alexandre Mergnat <amergnat@...libre.com>
Subject: Re: [PATCH v6 3/3] drm/mediatek: Implement OF graphs support for
display paths
Hi AngeloGioacchino,
kernel test robot noticed the following build errors:
[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v6.10-rc3 next-20240611]
[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/AngeloGioacchino-Del-Regno/dt-bindings-display-mediatek-Add-OF-graph-support-for-board-path/20240611-163327
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20240611082831.477566-4-angelogioacchino.delregno%40collabora.com
patch subject: [PATCH v6 3/3] drm/mediatek: Implement OF graphs support for display paths
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240612/202406120316.VAGmVBWN-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240612/202406120316.VAGmVBWN-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406120316.VAGmVBWN-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/gpu/drm/mediatek/mtk_dpi.c: In function 'mtk_dpi_bridge_attach':
>> drivers/gpu/drm/mediatek/mtk_dpi.c:711:31: error: 'dsi' undeclared (first use in this function); did you mean 'dpi'?
711 | ret = PTR_ERR(dsi->next_bridge);
| ^~~
| dpi
drivers/gpu/drm/mediatek/mtk_dpi.c:711:31: note: each undeclared identifier is reported only once for each function it appears in
vim +711 drivers/gpu/drm/mediatek/mtk_dpi.c
702
703 static int mtk_dpi_bridge_attach(struct drm_bridge *bridge,
704 enum drm_bridge_attach_flags flags)
705 {
706 struct mtk_dpi *dpi = bridge_to_dpi(bridge);
707 int ret;
708
709 dpi->next_bridge = devm_drm_of_get_bridge(dpi->dev, dpi->dev->of_node, 1, -1);
710 if (IS_ERR(dpi->next_bridge)) {
> 711 ret = PTR_ERR(dsi->next_bridge);
712 if (ret == -EPROBE_DEFER)
713 return ret;
714
715 /* Old devicetree has only one endpoint */
716 dpi->next_bridge = devm_drm_of_get_bridge(dpi->dev, dpi->dev->of_node, 0, 0);
717 if (IS_ERR(dpi->next_bridge))
718 return dev_err_probe(dpi->dev, PTR_ERR(dpi->next_bridge),
719 "Failed to get bridge\n");
720 }
721
722 return drm_bridge_attach(bridge->encoder, dpi->next_bridge,
723 &dpi->bridge, flags);
724 }
725
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists