diff options
author | James Hogan <jhogan@kernel.org> | 2018-01-30 10:48:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-30 15:20:25 +0100 |
commit | 91e6dd8284256ef62b43b78da6e7684e4f06ac2f (patch) | |
tree | 9f05c8ccdfbe7fae27252b8401f7b24c2b4feccb /drivers/net/wireless/mac80211_hwsim.c | |
parent | ibmvnic: Wait for device response when changing MAC (diff) | |
download | linux-91e6dd8284256ef62b43b78da6e7684e4f06ac2f.tar.xz linux-91e6dd8284256ef62b43b78da6e7684e4f06ac2f.zip |
ipmr: Fix ptrdiff_t print formatting
ipmr_vif_seq_show() prints the difference between two pointers with the
format string %2zd (z for size_t), however the correct format string is
%2td instead (t for ptrdiff_t).
The same bug in ip6mr_vif_seq_show() was already fixed long ago by
commit d430a227d272 ("bogus format in ip6mr").
Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions