diff options
author | 2025-07-16 11:07:29 +0000 | |
---|---|---|
committer | 2025-07-16 15:02:45 +0200 | |
commit | 16ad3ee51fc95ae8e06b9934fa2f656a5e4a8f03 (patch) | |
tree | c7cad475c0f592615fbb0edb989daae105e7d4bb /tools/perf/scripts/python | |
parent | misc: amd-sbi: Address copy_to/from_user() warning reported in smatch (diff) | |
download | wireguard-linux-16ad3ee51fc95ae8e06b9934fa2f656a5e4a8f03.tar.xz wireguard-linux-16ad3ee51fc95ae8e06b9934fa2f656a5e4a8f03.zip |
misc: amd-sbi: Explicitly clear in/out arg "mb_in_out"
- New AMD processor will support different input/output for same command.
- In some scenarios the input value is not cleared, which will be added to
output before reporting the data.
- Clearing input explicitly will be a cleaner and safer approach.
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
Link: https://lore.kernel.org/r/20250716110729.2193725-3-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions