aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-11-21 01:22:01 +0100
committerStefan Schmidt <stefan@datenfreihafen.org>2022-11-29 14:56:05 +0100
commit1e24c54da257ab93cff5826be8a793b014a5dc9c (patch)
treefbc9a089ba2405cc4349dd5a5964f3b51e428431 /scripts/gdb/linux/modules.py
parent4d002d6a2a00ac1c433899bd7625c6400a74cfba (diff)
ca8210: Fix crash by zero initializing data
The struct cas_control embeds multiple generic SPI structures and we have to make sure these structures are initialized to default values. This driver does not set all attributes. When using kmalloc before some attributes were not initialized and contained random data which caused random crashes at bootup. Fixes: ded845a781a5 ("ieee802154: Add CA8210 IEEE 802.15.4 device driver") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://lore.kernel.org/r/20221121002201.1339636-1-hauke@hauke-m.de Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions