diff options
| author | 2022-12-08 15:20:02 +0100 | |
|---|---|---|
| committer | 2022-12-14 18:12:31 +0000 | |
| commit | f72af770947825cd9947ce8b979bf9d6fe699c73 (patch) | |
| tree | 863566c98caddccaadc3a2f994b4f8b806e5b51c /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | media: sun6i-isp: proc: Fix return code handling in stream off path (diff) | |
media: sun6i-isp: proc: Error out on invalid port to fix warning
The enabled variable is only set for a valid port and used later,
which triggers an uninitialized use smatch warning. Explicitly error
out in that case to fix the warning.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Fixes: e3185e1d7c14 ("media: staging: media: Add support for the Allwinner A31 ISP")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
