RDS: add __printf format attribute to error reporting functions
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Fri, 5 Aug 2016 20:11:12 +0000 (22:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 23:16:21 +0000 (16:16 -0700)
commit6cdaf03f8c23fcbfe7d4fa6876e114193bb6b632
tree956f741fa95545c0ef508a1162227e46e523665a
parentd50736a853b8633ed8c9c64a2a1487e6081b739c
RDS: add __printf format attribute to error reporting functions

This is helpful to detect at compile-time errors related to format
strings.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib.h
net/rds/rds.h