summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDesnes Nunes <desnesn@redhat.com>2024-09-19 20:27:55 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-01-08 17:57:01 +0300
commitc36b9ad1a8add3c114e25fe167efa217a813b0c7 (patch)
treee564bcce971052df9cdb6a6ec4a3052400072419 /tools/perf/scripts/python/mem-phys-addr.py
parent94794b5ce4d90ab134b0b101a02fddf6e74c437d (diff)
downloadlinux-c36b9ad1a8add3c114e25fe167efa217a813b0c7.tar.xz
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 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions