Geert Uytterhoeven 12364a4f05 nfs4: The difference of 2 pointers is ptrdiff_t
On m68k, which is 32-bit:

fs/nfs/nfs4proc.c: In function ‘nfs41_sequence_done’:
fs/nfs/nfs4proc.c:432: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’
fs/nfs/nfs4proc.c: In function ‘nfs4_setup_sequence’:
fs/nfs/nfs4proc.c:576: warning: format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘int’

On 32-bit, ptrdiff_t is int; on 64-bit, ptrdiff_t is long.

Introduced by commit dfb4f309830359352539919f23accc59a20a3758 ("NFSv4.1: keep
seq_res.sr_slot as pointer rather than an index")

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2010-10-28 15:49:29 -04:00
..
2010-02-10 08:30:59 -05:00
2010-05-14 15:09:31 -04:00
2010-10-25 21:26:11 -04:00
2010-10-28 11:18:00 -04:00
2010-10-23 15:27:37 -04:00
2010-10-27 21:39:39 +02:00
2010-10-23 15:27:37 -04:00
2010-10-23 15:27:35 -04:00
2010-10-24 17:59:56 -04:00
2010-10-23 15:27:37 -04:00
2010-10-26 13:56:42 -04:00
2010-10-23 15:27:35 -04:00
2010-10-07 18:48:49 -04:00