Key Information Vulnerability Type: Use of Uninitialized Variable Affected File: Fix Commit: d4742c886043b6d2d05bfde3998ef333b66595 Upstream Commit: d578e0af3a003736f6cc44018bb156483d451b329 Issue Description: - In the function, was replaced with , but the return value was not properly updated. - This caused the uninitialized variable to be used within the function, triggering a warning. Fix Applied: - Removed the variable and directly returned the passed length if succeeded. Related Commits and Fixes: - Fixes: 7a4836560a6198d2455732e26f4898b1e2eb760 ("wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()") - Fixes: ff974e4083341383d3dd4079e52ed30f57f376f8 ("wil6210: debugfs interface to send raw WMI command") Reporter and Reviewers: - Reporter: kernel test robot - Reviewers: Dan Carpenter , Kalle Valo Link: https://lore.kernel.org/r/20220724202452.61846-1-ammar.faizi@intel.com