summaryrefslogtreecommitdiffstats
path: root/Documentation/firmware-guide
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-29 19:22:53 +0200
committerThierry Reding <thierry.reding@gmail.com>2021-06-30 19:12:21 +0200
commit96e45e5202377da39d086ec19f8934ebcc5b0fd6 (patch)
tree8761478f13555305b4fad7eb510a320f940e528c /Documentation/firmware-guide
parentpwm: ep93xx: Prepare clock before using it (diff)
downloadlinux-96e45e5202377da39d086ec19f8934ebcc5b0fd6.tar.xz
linux-96e45e5202377da39d086ec19f8934ebcc5b0fd6.zip
pwm: ep93xx: Fix read of uninitialized variable ret
There is a potential path in function ep93xx_pwm_apply where ret is never assigned a value and it is checked for an error code. Fix this by ensuring ret is zero'd in the success path to avoid this issue. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: f6ef94edf0f6 ("pwm: ep93xx: Unfold legacy callbacks into ep93xx_pwm_apply()") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation/firmware-guide')
0 files changed, 0 insertions, 0 deletions