diff options
author | Desnes Nunes <desnesn@redhat.com> | 2024-09-19 14:27:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-01-08 14:57:01 +0000 |
commit | c36b9ad1a8add3c114e25fe167efa217a813b0c7 (patch) | |
tree | e564bcce971052df9cdb6a6ec4a3052400072419 /include/xen | |
parent | 94794b5ce4d90ab134b0b101a02fddf6e74c437d (diff) |
media: dvb-usb-v2: af9035: fix ISO C90 compilation error on af9035_i2c_master_xfer
This fixes a 'ISO C90 forbids mixed declarations and code' compilation
error on af9035_i2c_master_xfer, which is caused by the sanity check added
on user controlled msg[i], before declaring the demodulator register.
Fixes: 7bf744f2de0a ("media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer")
Signed-off-by: Desnes Nunes <desnesn@redhat.com>
Link: https://lore.kernel.org/r/20240919172755.196907-1-desnesn@redhat.com
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions