mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00
Merge pull request #2236 from Freescale/backport-2231-to-scarthgap
Some checks failed
Update LICENSE file / update-license (push) Has been cancelled
Some checks failed
Update LICENSE file / update-license (push) Has been cancelled
[Backport scarthgap] kernel-module-nxp-wlan: add patch to lower PRINTM_MMSG() log level
This commit is contained in:
commit
a82f138b14
|
@ -0,0 +1,36 @@
|
|||
From b1b218757973fd6a293de5bdbdc75307db07998e Mon Sep 17 00:00:00 2001
|
||||
From: Vitor Soares <vitor.soares@toradex.com>
|
||||
Date: Wed, 30 Apr 2025 15:12:06 +0100
|
||||
Subject: [PATCH] mlinux: moal_main: lower PRINTM_MMSG() log level to KERN_INFO
|
||||
|
||||
Currently, the PRINTM_MMSG macro uses KERN_ALERT for printing messages.
|
||||
KERN_ALERT is intended for critical conditions requiring immediate
|
||||
attention (e.g., hardware failure), and using it for normal debug output
|
||||
is misleading and can clutter system logs.
|
||||
|
||||
This patch lowers the log level to KERN_INFO, which is more appropriate
|
||||
for informational messages that are not indicative of system-critical
|
||||
failures.
|
||||
|
||||
Upstream-Status: Inappropriate [upstream not accepting patches]
|
||||
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
|
||||
---
|
||||
mlinux/moal_main.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mlinux/moal_main.h b/mlinux/moal_main.h
|
||||
index 6d87dcf4f5db..b4e7e4d4a5fd 100644
|
||||
--- a/mlinux/moal_main.h
|
||||
+++ b/mlinux/moal_main.h
|
||||
@@ -3517,7 +3517,7 @@ extern t_u32 drvdbg;
|
||||
do { \
|
||||
woal_print(level, msg); \
|
||||
if (drvdbg & MMSG) \
|
||||
- printk(KERN_ALERT msg); \
|
||||
+ printk(KERN_INFO msg); \
|
||||
} while (0)
|
||||
|
||||
static inline void woal_print(t_u32 level, char *fmt, ...)
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -13,6 +13,7 @@ MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https"
|
|||
SRC_URI = " \
|
||||
${MRVL_SRC};branch=${SRCBRANCH} \
|
||||
file://wlan_src_driver_patch_release_lf-6.6.52-2.2.0.patch \
|
||||
file://mlinux-moal_main-lower-PRINTM_MMSG-log-level-to-KERN_INFO.patch \
|
||||
"
|
||||
SRCREV = "5ad19e194f49ed9447bee7864eb562618ccaf9b1"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user