• Marek Vasut's avatar
    drm/bridge: ti-sn65dsi83: Fix sparse warnings · 241a9e23
    Marek Vasut authored
    Fix the following sparse warnings generated by "make C=1":
    
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:429:13: warning: incorrect type in assignment (different base types)
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:429:13:    expected unsigned short [assigned] [usertype] val
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:429:13:    got restricted __le16 [usertype]
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:432:13: warning: incorrect type in assignment (different base types)
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:432:13:    expected unsigned short [addressable] [assigned] [usertype] val
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:432:13:    got restricted __le16 [usertype]
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:436:13: warning: incorrect type in assignment (different base types)
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:436:13:    expected unsigned short [addressable] [assigned] [usertype] val
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:436:13:    got restricted __le16 [usertype]
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:438:13: warning: incorrect type in assignment (different base types)
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:438:13:    expected unsigned short [addressable] [assigned] [usertype] val
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:438:13:    got restricted __le16 [usertype]
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:441:13: warning: incorrect type in assignment (different base types)
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:441:13:    expected unsigned short [addressable] [assigned] [usertype] val
    drivers/gpu/drm/bridge/ti-sn65dsi83.c:441:13:    got restricted __le16 [usertype]
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Adam Ford <aford173@gmail.com>
    Cc: Douglas Anderson <dianders@chromium.org>
    Cc: Frieder Schrempf <frieder.schrempf@kontron.de>
    Cc: Jagan Teki <jagan@amarulasolutions.com>
    Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Loic Poulain <loic.poulain@linaro.org>
    Cc: Marek Vasut <marex@denx.de>
    Cc: Philippe Schenker <philippe.schenker@toradex.com>
    Cc: Robert Foss <robert.foss@linaro.org>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Cc: Stephen Boyd <swboyd@chromium.org>
    Cc: Valentin Raevsky <valentin@compulab.co.il>
    To: dri-devel@lists.freedesktop.org
    Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
    Reviewed-by: default avatarRobert Foss <robert.foss@linaro.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210608142211.82333-1-marex@denx.de
    241a9e23
ti-sn65dsi83.c 22.5 KB