diff options
| author | Paul Kocialkowski <[email protected]> | 2022-12-08 15:20:02 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-12-14 18:12:31 +0000 |
| commit | f72af770947825cd9947ce8b979bf9d6fe699c73 (patch) | |
| tree | 863566c98caddccaadc3a2f994b4f8b806e5b51c /net/lapb/lapb_out.c | |
| parent | 504307f2b3ae2625ed591efe073c2d14d568dfc8 (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 <[email protected]>
Fixes: e3185e1d7c14 ("media: staging: media: Add support for the Allwinner A31 ISP")
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions