diff options
| author | Pagadala Yesu Anjaneyulu <[email protected]> | 2025-03-08 21:19:20 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2025-03-11 09:54:02 +0000 |
| commit | 9002ba67fb1e275f9cba38b4af42ebe43638fb5c (patch) | |
| tree | 848b7e28780d1df4000a876694d23ca5e7b792a8 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c | |
| parent | wifi: iwlwifi: w/a FW SMPS mode selection (diff) | |
| download | kernel-9002ba67fb1e275f9cba38b4af42ebe43638fb5c.tar.gz kernel-9002ba67fb1e275f9cba38b4af42ebe43638fb5c.zip | |
wifi: iwlwifi: mvm: Fix bit size calculation in iwl_dbgfs_tas_get_status_read
Corrected the bit size calculation in the for_each_set_bit macro in
the iwl_dbgfs_tas_get_status_read(). The previous implementation used
sizeof(dyn_status), which only accounts for the number of bytes.
This has been updated to TAS_DYNA_STATUS_MAX to ensure the loop iterates
over the correct number of valid bits in dyn_status.
Signed-off-by: Pagadala Yesu Anjaneyulu <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://patch.msgid.link/20250308231427.65d373e4a10e.If2cea63035333b07849e5a2c2a4f5dc5c5239595@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions
