]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/bridge: imx93-mipi-dsi: Fix a couple of building warnings
authorLiu Ying <victor.liu@nxp.com>
Thu, 23 Nov 2023 05:18:07 +0000 (13:18 +0800)
committerRobert Foss <rfoss@kernel.org>
Tue, 28 Nov 2023 16:10:30 +0000 (17:10 +0100)
commit325b71e820b67569048c621227266783442b75ed
tree3cfe8a0d008529f45ec03c75964cb3ed7169909f
parent288b039db225676e0c520c981a1b5a2562d893a3
drm/bridge: imx93-mipi-dsi: Fix a couple of building warnings

Fix a couple of building warnings on used uninitialized 'best_m' and
'best_n' local variables by initializing 'best_m' to zero and 'best_n'
to UINT_MAX.  This makes compiler happy only.  No functional change.

Fixes: ce62f8ea7e3f ("drm/bridge: imx: Add i.MX93 MIPI DSI support")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311151746.f7u7dzbZ-lkp@intel.com/
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231123051807.3818342-1-victor.liu@nxp.com
drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c