]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: fix compilation warnings
authorDotan Barak <dotanb@dev.mellanox.co.il>
Wed, 15 Feb 2012 16:00:50 +0000 (18:00 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:35 +0000 (16:41 -0700)
commit356973a21c5836cb15665ae0f7e4f83d130d1c27
tree17ceae67c32db9d9894ea4601e46d97e67175c3c
parentd2abe298957f3de2193557cc205daca97f40e54c
rds: fix compilation warnings

net/rds/ib_recv.c: In function 'rds_ib_srq_event':
net/rds/ib_recv.c:1490: warning: too many arguments for format
net/rds/ib_recv.c:1484: warning: unused variable 'srq_attr'
net/rds/ib_recv.c: In function 'rds_ib_srq_init':
net/rds/ib_recv.c:1524: warning: passing argument 1 of 'ERR_PTR' makes
integer from pointer without a cast
include/linux/err.h:20: note: expected 'long int' but argument is of
type 'struct ib_srq *'
net/rds/ib_recv.c:1524: warning: format '%d' expects type 'int', but
argument 2 has type 'void *'

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
net/rds/ib_recv.c