Re: [PATCH] ceph: Use %zu to format size_t in ceph_fill_inline_data()

2014-12-21 Thread Ilya Dryomov
On Sun, Dec 21, 2014 at 1:56 PM, Geert Uytterhoeven wrote: > On 32-bit, where size_t is unsigned int: > > fs/ceph/addr.c: In function ‘ceph_fill_inline_data’: > fs/ceph/addr.c:1419: warning: format ‘%lu’ expects type ‘long unsigned int’, > but argument 10 has type ‘size_t’ > > Signed-off-by:

[PATCH] ceph: Use %zu to format size_t in ceph_fill_inline_data()

2014-12-21 Thread Geert Uytterhoeven
On 32-bit, where size_t is unsigned int: fs/ceph/addr.c: In function ‘ceph_fill_inline_data’: fs/ceph/addr.c:1419: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 10 has type ‘size_t’ Signed-off-by: Geert Uytterhoeven --- fs/ceph/addr.c | 2 +- 1 file changed, 1

[PATCH] ceph: Use %zu to format size_t in ceph_fill_inline_data()

2014-12-21 Thread Geert Uytterhoeven
On 32-bit, where size_t is unsigned int: fs/ceph/addr.c: In function ‘ceph_fill_inline_data’: fs/ceph/addr.c:1419: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 10 has type ‘size_t’ Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- fs/ceph/addr.c | 2 +- 1 file

Re: [PATCH] ceph: Use %zu to format size_t in ceph_fill_inline_data()

2014-12-21 Thread Ilya Dryomov
On Sun, Dec 21, 2014 at 1:56 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On 32-bit, where size_t is unsigned int: fs/ceph/addr.c: In function ‘ceph_fill_inline_data’: fs/ceph/addr.c:1419: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 10 has type ‘size_t’