media: dvb-frontends: mb86a16.c: always use the same error path
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 26 Jan 2023 13:46:49 +0000 (14:46 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 07:40:13 +0000 (08:40 +0100)
commit107b7a219bb6ca4e70254cb2247af54939fb4713
treee1eb6c079b5cb63eee1093fdfca586fe1cea7821
parent6a4c664539e6de9b32b65ddcf767ec1bcc1d7f8a
media: dvb-frontends: mb86a16.c: always use the same error path

If the message length was wrong, the dprintk() after the 'err' label
was bypassed. Fix that, and fix a smatch warning at the same time:

mb86a16.c:1514 mb86a16_send_diseqc_msg() warn: missing unwind goto?

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/dvb-frontends/mb86a16.c