aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorRodrigo Gobbi <[email protected]>2025-06-26 21:33:14 +0000
committerVinod Koul <[email protected]>2025-06-26 22:50:02 +0000
commit06f77ff9d852c9f2764659ea81489364d8a69a9c (patch)
tree2a711b93031bda962f1257b0b4c07272650f3663 /rust/helpers
parentsoundwire: amd: add check for status update registers (diff)
downloadkernel-06f77ff9d852c9f2764659ea81489364d8a69a9c.tar.gz
kernel-06f77ff9d852c9f2764659ea81489364d8a69a9c.zip
soundwire: debugfs: move debug statement outside of error handling
The start_t and finish_t variables are not properly initialized if errors happens over request_firmware actions. This was also detected by smatch: drivers/soundwire/debugfs.c:301 cmd_go() error: uninitialized symbol 'finish_t'. drivers/soundwire/debugfs.c:301 cmd_go() error: uninitialized symbol 'start_t'. Move the debug statement outside of firmware error handling. Signed-off-by: Rodrigo Gobbi <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/linux-sound/[email protected]/ Fixes: bb5cb09eedce ("soundwire: debugfs: add interface for BPT/BRA transfers") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions