aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorSean Paul <[email protected]>2017-09-20 17:13:56 -0700
committerSean Paul <[email protected]>2017-09-21 13:05:35 -0700
commit6bf2e0324b9376512b0b9bf5c5c4b383afd419ec (patch)
tree3334347fa7c1de3508b86933fd2cb26c96d7bcd1 /net/switchdev/switchdev.c
parent531beb067c6185aceabfdee0965234c6a8fd133b (diff)
drm/rockchip: Fix uninitialized use of ret
If there are no children for lvds, ret is used uninitialized. This patch initializes ret and returns an error if the port has no children. Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") Cc: Mark Yao <[email protected]> Cc: Heiko Stuebner <[email protected]> Cc: Sandy Huang <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Reviewed-by: Mark Yao <[email protected]> Signed-off-by: Sean Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions