diff options
author | David S. Miller <davem@davemloft.net> | 2023-06-20 09:32:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-20 09:32:33 +0100 |
commit | 8340eef98d45c8822eb6e982b500460371171ee0 (patch) | |
tree | 34287efefa70085cac7c2d5b940f2045c79cf1d5 /net/mac802154 | |
parent | 0dbcac3a6dbb32c1de53ebebfd28452965e12950 (diff) | |
parent | cd9125030689dda69f73f6c2843d63135cb383f0 (diff) |
Merge tag 'ieee802154-for-net-2023-06-19' of git://git.kernel.org/pub/scm/linux/kernel/git/wpan/wpan
Stefan Schmidt says:
====================
An update from ieee802154 for your *net* tree:
Two small fixes and MAINTAINERS update this time.
Azeem Shaikh ensured consistent use of strscpy through the tree and fixed
the usage in our trace.h.
Chen Aotian fixed a potential memory leak in the hwsim simulator for
ieee802154.
Miquel Raynal updated the MAINATINERS file with the new team git tree
locations and patchwork URLs.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/trace.h b/net/mac802154/trace.h index 689396d6c76a..1574ecc48075 100644 --- a/net/mac802154/trace.h +++ b/net/mac802154/trace.h @@ -14,7 +14,7 @@ #define MAXNAME 32 #define LOCAL_ENTRY __array(char, wpan_phy_name, MAXNAME) -#define LOCAL_ASSIGN strlcpy(__entry->wpan_phy_name, \ +#define LOCAL_ASSIGN strscpy(__entry->wpan_phy_name, \ wpan_phy_name(local->hw.phy), MAXNAME) #define LOCAL_PR_FMT "%s" #define LOCAL_PR_ARG __entry->wpan_phy_name |