[PATCH v2 34/39] drm: bridge: dw_hdmi: switch to ->edid_read callback
Jani Nikula
jani.nikula at intel.com
Thu Jan 4 12:21:52 UTC 2024
On Thu, 04 Jan 2024, kernel test robot <lkp at intel.com> wrote:
> Hi Jani,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on drm-misc/drm-misc-next]
> [also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.7-rc8 next-20240103]
> [cannot apply to drm-intel/for-linux-next]
> [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/Jani-Nikula/drm-bridge-add-edid_read-hook-and-drm_bridge_edid_read/20240103-181513
> base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
> patch link: https://lore.kernel.org/r/a8f71940221fb085b8767f8123f496c9b36b22cc.1704276309.git.jani.nikula%40intel.com
> patch subject: [PATCH v2 34/39] drm: bridge: dw_hdmi: switch to ->edid_read callback
> config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20240104/202401041305.NcTmAmOJ-lkp@intel.com/config)
> compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project 7e186d366d6c7def0543acc255931f617e76dff0)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240104/202401041305.NcTmAmOJ-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 at intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202401041305.NcTmAmOJ-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:2473:3: warning: variable 'edid' is uninitialized when used here [-Wuninitialized]
> 2473 | edid->width_cm, edid->height_cm);
> | ^~~~
> include/linux/dev_printk.h:155:39: note: expanded from macro 'dev_dbg'
> 155 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
> | ^~~~~~~~~~~
> include/linux/dynamic_debug.h:274:19: note: expanded from macro 'dynamic_dev_dbg'
> 274 | dev, fmt, ##__VA_ARGS__)
> | ^~~~~~~~~~~
> include/linux/dynamic_debug.h:250:59: note: expanded from macro '_dynamic_func_call'
> 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
> | ^~~~~~~~~~~
> include/linux/dynamic_debug.h:248:65: note: expanded from macro '_dynamic_func_call_cls'
> 248 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
> | ^~~~~~~~~~~
> include/linux/dynamic_debug.h:224:15: note: expanded from macro '__dynamic_func_call_cls'
> 224 | func(&id, ##__VA_ARGS__); \
> | ^~~~~~~~~~~
> drivers/gpu/drm/bridge/synopsys/dw-hdmi.c:2461:25: note: initialize the variable 'edid' to silence this warning
> 2461 | const struct edid *edid;
> | ^
> | = NULL
> 1 warning generated.
This is a valid report, fixed locally.
BR,
Jani.
--
Jani Nikula, Intel
More information about the dri-devel
mailing list