From: Andrei Otcheretianski Date: Fri, 15 Mar 2019 15:38:57 +0000 (+0200) Subject: mac80211: Increase MAX_MSG_LEN X-Git-Tag: v5.15~6591^2~35^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78be2d21cc1cd3069c6138dcfecec62583130171;p=platform%2Fkernel%2Flinux-starfive.git mac80211: Increase MAX_MSG_LEN 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 Signed-off-by: Luca Coelho Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/trace_msg.h b/net/mac80211/trace_msg.h index 366b9e6..40141df 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),