diff options
Diffstat (limited to 'mt76x02_trace.h')
-rw-r--r-- | mt76x02_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mt76x02_trace.h b/mt76x02_trace.h index 6a98092e996b..11d119cd0f6f 100644 --- a/mt76x02_trace.h +++ b/mt76x02_trace.h @@ -14,7 +14,7 @@ #define MAXNAME 32 #define DEV_ENTRY __array(char, wiphy_name, 32) -#define DEV_ASSIGN strlcpy(__entry->wiphy_name, \ +#define DEV_ASSIGN strscpy(__entry->wiphy_name, \ wiphy_name(mt76_hw(dev)->wiphy), MAXNAME) #define DEV_PR_FMT "%s" #define DEV_PR_ARG __entry->wiphy_name |