Skip to content
Commit dc30e703 authored by Yizhuo's avatar Yizhuo Committed by Tony Lindgren
Browse files

ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized



In function omap4_dsi_mux_pads(), local variable "reg" could
be uninitialized if function regmap_read() returns -EINVAL.
However, it will be used directly in the later context, which
is potentially unsafe.

Signed-off-by: default avatarYizhuo <yzhai003@ucr.edu>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 072167d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment