summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStanislaw Gruszka <stf_xl@wp.pl>2026-07-23 13:06:40 +0200
committerPing-Ke Shih <pkshih@realtek.com>2026-07-30 10:19:06 +0800
commit799b5f45cb8194ebd06c9c89e0afdad5bedd2cc5 (patch)
tree8a4d089d98bfdb50613214e75f4ad5697203e4c4 /tools/perf/scripts/python/export-to-sqlite.py
parentb0034a2e415603daa1cf00363b407cc145bbcd31 (diff)
wifi: rtl818x: initialize eeprom_93cx6 struct to zero
Commit 7738a7ab9d12 ("misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle") added extra 'quirk' field to struct eeprom_93cx6. Many existing users of eeprom_93cx6, including rtl818x drivers, allocate the structure on the stack without initializing all fields. As a result, the added quirk field has an undefined value and can randomly cause reading wrong data from the EEPROM. Fix by initializing the structures with {}. Fixes: 7738a7ab9d12 ("misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle") Cc: stable@kernel.org # v6.13+ Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260723110640.8588-1-stf_xl@wp.pl
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions