]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath11k: Correctly use "ab" macro parameter
authorJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 22 Oct 2025 15:24:46 +0000 (08:24 -0700)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 23 Oct 2025 17:34:06 +0000 (10:34 -0700)
commit50cb7ccab8176cbce4e32420f9fc2d6d80e69a09
tree732a2221d4c04567cee9c6f676414197959f90e9
parent998c68e96c03f10dec19b65279ade9d4000d1ae9
wifi: ath11k: Correctly use "ab" macro parameter

The checkpatch script is reporting multiple instances of:
Argument 'x' is not used in function-like macro

Fix these by renaming the argument to match the usage. In the process,
also add parenthesis to the usage to avoid MACRO_ARG_PRECEDENCE
issues.

Compile tested only.

Link: https://patch.msgid.link/20251022-ath11k-bad-macro-arg-v1-1-93a8eadb6191@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath11k/hal.h
drivers/net/wireless/ath/ath11k/pci.h