Hi Trond, On Fri, 4 May 2012 14:09:18 -0400 Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> wrote: > > Fix the following compile warnings: > fs/nfs/direct.c: In function 'nfs_direct_read_schedule_segment': > fs/nfs/direct.c:325:11: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > fs/nfs/direct.c:325:11: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > fs/nfs/direct.c:325:11: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > fs/nfs/direct.c:352:27: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > fs/nfs/direct.c: In function 'nfs_direct_write_schedule_segment': > fs/nfs/direct.c:622:11: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > fs/nfs/direct.c:622:11: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > fs/nfs/direct.c:622:11: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > fs/nfs/direct.c:650:27: warning: comparison of distinct pointer types > lacks a cast [enabled by default] > > Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> > Cc: Fred Isaman <iisaman@xxxxxxxxxx> > Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> That works for me. Acked-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgp4ZdUKwTH3C.pgp
Description: PGP signature