ソースを参照

qcacmn: Suppress NBUF alloc fail prints

NBUF alloc fail prints are flooding the console,
which is not allowing watchdog resetting to occur

ratelimit is added to reduce the print statements
flooding the console.

Change-Id: Ib6531070c8b80d64ffea62209912e5166e0414c1
Sandhya Mahadevan 6 年 前
コミット
e650d1d287
1 ファイル変更2 行追加2 行削除
  1. 2 2
      qdf/linux/src/qdf_nbuf.c

+ 2 - 2
qdf/linux/src/qdf_nbuf.c

@@ -375,8 +375,8 @@ realloc:
 	skb = pld_nbuf_pre_alloc(size);
 
 	if (!skb) {
-		qdf_nofl_err("NBUF alloc failed %zuB @ %s:%d",
-			     size, func, line);
+		qdf_rl_nofl_err("NBUF alloc failed %zuB @ %s:%d",
+				size, func, line);
 		return NULL;
 	}