summary refs log tree commit diff
path: root/include/misc/altera.h
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-04-18 01:05:39 +0100
committerDavid S. Miller <davem@davemloft.net>2019-04-19 11:56:40 -0700
commit7d26c96052cd42439180edfeee48cc784075b78a (patch)
treea9cb2a827e1573cf50303a170af06c9611b5f959 /include/misc/altera.h
parent5c2e6e14a0ad24a35d9d2b318204c8c012d9d618 (diff)
downloadlinux-7d26c96052cd42439180edfeee48cc784075b78a.tar.gz
nfp: flower: fix size_t compile warning
A recent addition to NFP introduced a function that formats a string with
a size_t variable. This is formatted with %ld which is fine on 64-bit
architectures but produces a compile warning on 32-bit architectures.

Fix this by using the z length modifier.

Fixes: a6156a6ab0f9 ("nfp: flower: handle merge hint messages")
Signed-off-by: John Hurley <john.hurley@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/misc/altera.h')
0 files changed, 0 insertions, 0 deletions