diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2019-03-15 17:38:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-16 19:41:20 +0200 |
commit | 35e2abbaffa2979fb98c49f80dbca8fa58647cd6 (patch) | |
tree | 0cb901ca1ed71d90e75f515c80b08f7d47e71345 | |
parent | bbe1ab38e1a2e3bbc4d9115acf0e9b03287ae580 (diff) | |
download | linux-stable-35e2abbaffa2979fb98c49f80dbca8fa58647cd6.tar.gz linux-stable-35e2abbaffa2979fb98c49f80dbca8fa58647cd6.tar.bz2 linux-stable-35e2abbaffa2979fb98c49f80dbca8fa58647cd6.zip |
mac80211: Increase MAX_MSG_LEN
[ Upstream commit 78be2d21cc1cd3069c6138dcfecec62583130171 ]
Looks that 100 chars isn't enough for messages, as we keep getting
warnings popping from different places due to message shortening.
Instead of trying to shorten the prints, just increase the buffer size.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | net/mac80211/trace_msg.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/mac80211/trace_msg.h b/net/mac80211/trace_msg.h index 366b9e6f043e..40141df09f25 100644 --- a/net/mac80211/trace_msg.h +++ b/net/mac80211/trace_msg.h @@ -1,4 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * Portions of this file + * Copyright (C) 2019 Intel Corporation + */ + #ifdef CONFIG_MAC80211_MESSAGE_TRACING #if !defined(__MAC80211_MSG_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ) @@ -11,7 +16,7 @@ #undef TRACE_SYSTEM #define TRACE_SYSTEM mac80211_msg -#define MAX_MSG_LEN 100 +#define MAX_MSG_LEN 120 DECLARE_EVENT_CLASS(mac80211_msg_event, TP_PROTO(struct va_format *vaf), |