Re: [PATCH 1/2] fixup! drm/bridge: ti-sn65dsi86: Train at faster rates if slower ones fail
From: Doug Anderson
Date: Tue Dec 17 2019 - 19:52:38 EST
Hi,
On Sun, Dec 15, 2019 at 12:05 PM Rob Clark <robdclark@xxxxxxxxx> wrote:
>
> From: Rob Clark <robdclark@xxxxxxxxxxxx>
>
> Fixes:
>
> In file included from ../drivers/gpu/drm/bridge/ti-sn65dsi86.c:25:
> ../drivers/gpu/drm/bridge/ti-sn65dsi86.c: In function âti_sn_bridge_enableâ:
> ../include/drm/drm_print.h:339:2: warning: âlast_err_strâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> 339 | drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__)
> | ^~~~~~~~~~~~~~
> ../drivers/gpu/drm/bridge/ti-sn65dsi86.c:650:14: note: âlast_err_strâ was declared here
> 650 | const char *last_err_str;
> | ^~~~~~~~~~~~
> In file included from ../drivers/gpu/drm/bridge/ti-sn65dsi86.c:25:
> ../include/drm/drm_print.h:339:2: warning: âretâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> 339 | drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__)
> | ^~~~~~~~~~~~~~
> ../drivers/gpu/drm/bridge/ti-sn65dsi86.c:654:6: note: âretâ was declared here
> 654 | int ret;
> | ^~~
> Building modules, stage 2.
> ---
> drivers/gpu/drm/bridge/ti-sn65dsi86.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks! I have rolled this into my v2.
-Doug