mirror of
https://github.com/qca/qca-swiss-army-knife.git
synced 2025-12-10 07:44:42 +01:00
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:
parent
8adc4981da
commit
3349c9cfbd
1 changed files with 1 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ checkpatch_filter = [
|
|||
|
||||
# __ath12k_dbg has to use dev_printk() so that debug_mask always work
|
||||
('__ath12k_dbg', 'PREFER_DEV_LEVEL'),
|
||||
('__ath12k_dbg', 'PREFER_PR_LEVEL'),
|
||||
|
||||
# couldn't figure a way to avoid the reuse warning
|
||||
('for_each_ar', 'MACRO_ARG_REUSE'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue