diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-10-15 11:33:10 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-10-18 11:43:03 +0300 |
commit | 2aee207e5b3c94ef859316008119ea06d6798d49 (patch) | |
tree | 1423ba116dca41558d2c927cee13f633eb3291af /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9883a4d41aba7612644e9bb807b971247cea9b9d (diff) | |
download | linux-2aee207e5b3c94ef859316008119ea06d6798d49.tar.xz |
media: mgb4: protect driver against spectre
Frequency range is set from sysfs via frequency_range_store(),
being vulnerable to spectre, as reported by smatch:
drivers/media/pci/mgb4/mgb4_cmt.c:231 mgb4_cmt_set_vin_freq_range() warn: potential spectre issue 'cmt_vals_in' [r]
drivers/media/pci/mgb4/mgb4_cmt.c:238 mgb4_cmt_set_vin_freq_range() warn: possible spectre second half. 'reg_set'
Fix it.
Fixes: 0ab13674a9bd ("media: pci: mgb4: Added Digiteq Automotive MGB4 driver")
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Martin Tůma <martin.tuma@digiteqautomotive.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions