OSDN Git Service

IB/srp: Use %pIS instead of inet_ntop()
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 23 Feb 2018 22:09:26 +0000 (14:09 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 28 Feb 2018 20:57:39 +0000 (13:57 -0700)
commit7da09af91d51561f373bedcd7a9d521ac79ee695
tree4f912e93fc9f1406572f1ad4c2a2b2b834ceba18
parentc74ff7501e8dda9e9542a1fcabb2233776c1d19d
IB/srp: Use %pIS instead of inet_ntop()

Except for a minor log message change, this patch does not change
any functionality. For the introduction of %pIS, see also commit
1067964305df ("lib: vsprintf: add IPv4/v6 generic %p[Ii]S[pfs]
format specifier").

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srp/ib_srp.c