ath12k-check: ignore PREFER_PR_LEVEL warning

A new ath12k patch [1] triggers a PREFER_PR_LEVEL checkpatch warning:

drivers/net/wireless/ath/ath12k/debug.c:69: Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then dev_dbg(dev, ... then pr_debug(...  to printk(KERN_DEBUG ...

Add a rule to ignore it.

Link: https://lore.kernel.org/all/20250204-unlink_link_arvif_from_chanctx-v2-2-764fb5973c1a@oss.qualcomm.com/
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
This commit is contained in:
Jeff Johnson 2025-02-07 09:04:43 -08:00
parent 8adc4981da
commit 3349c9cfbd

View file

@ -84,6 +84,7 @@ checkpatch_filter = [
# __ath12k_dbg has to use dev_printk() so that debug_mask always work # __ath12k_dbg has to use dev_printk() so that debug_mask always work
('__ath12k_dbg', 'PREFER_DEV_LEVEL'), ('__ath12k_dbg', 'PREFER_DEV_LEVEL'),
('__ath12k_dbg', 'PREFER_PR_LEVEL'),
# couldn't figure a way to avoid the reuse warning # couldn't figure a way to avoid the reuse warning
('for_each_ar', 'MACRO_ARG_REUSE'), ('for_each_ar', 'MACRO_ARG_REUSE'),