aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-10-21 00:04:05 -0700
committerDmitry Torokhov <[email protected]>2024-10-21 00:12:11 -0700
commitd0c3a7aa814c091843ccca467c02078db9da4e1e (patch)
treecb28ed5d8d1fe85e0f641e1422c65a351d81d93a /scripts/gdb/linux/modules.py
parent00850d7b542aa4a8240cf977d43dc6d2158e48d7 (diff)
Input: serio_raw - fix uninitialized variable bug
Recent conversion of the driver to use guard notation for locks and other resources introduced a bug: "written" variable that is supposed to hold number of bytes successfully written was not initialized. Fix it by initializing the variable with 0. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: 5b53a9d40c4f ("Input: serio_raw - use guard notation for locks and other resources") Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions