Explorar o código

msm: ipa3: Print debug buffer size reduced

Link loading showed a stack based buffer, used for printing
statistics, was too big.  The sized has been reduced to be more stack
friendly.

Change-Id: Iab6f6d1d7e77c42855205641c20999c2633f3075
Signed-off-by: Perry Randise <[email protected]>
Perry Randise %!s(int64=3) %!d(string=hai) anos
pai
achega
7b95a8005a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c

@@ -1672,7 +1672,7 @@ static ssize_t ipa3_read_lan_coal_stats(
 {
 	int nbytes=0, cnt=0;
 	u32 i;
-	char buf[4096];
+	char buf[1024];
 
 	*buf = '\0';