Re: [PATCH net-next 1/1] nfp: flower: fix size_t compile warning

2019-04-19 Thread David Miller
From: John Hurley Date: Thu, 18 Apr 2019 01:05:39 +0100 > 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 usin

[PATCH net-next 1/1] nfp: flower: fix size_t compile warning

2019-04-17 Thread John Hurley
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