]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Print "ib_srp: " prefix once
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 12 May 2016 17:47:38 +0000 (10:47 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 17:37:21 +0000 (13:37 -0400)
commit22d68ca7ac2d537cdabf86d3bcec22b0f0dceded
tree8c012f49831891a4ad5bc440559c2dc7e28f6f4b
parent5859c77079b13959ed52200f585bc218bb6c5f89
IB/srp: Print "ib_srp: " prefix once

pr_debug() already prints prefix PFX. Avoid that PFX is printed
twice if the debug statement in srp_add_target() is enabled.

Fixes: 8041f2918b5d ("IB/srp: Avoid that I/O hangs due to a cable pull during LUN scanning")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c