msm: ipa : Fix KW array index issue on dbg_buff

KW raise the issue of "array 'dbg_buff' of size 4096
may use index value(s) 4096." The fix is to increase the
dbg_buff size to avoid it.

Change-Id: Ibb02e7fa73d9c0fb8924c90c66052255acc8275f
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
This commit is contained in:
Bojun Pan 2019-10-24 18:03:55 -07:00 • committed by Gerrit - the friendly Code Review server
commit bdbd018656

View file

@ -98,7 +98,7 @@ const char *ipa3_hdr_proc_type_name[] = {
};
static struct dentry *dent;
static char dbg_buff[IPA_MAX_MSG_LEN];
static char dbg_buff[IPA_MAX_MSG_LEN + 1];
static char *active_clients_buf;
static s8 ep_reg_idx;