IB/srp: Fix CONFIG_DYNAMIC_DEBUG=n build
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 21 Nov 2016 21:56:46 +0000 (13:56 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 18:31:37 +0000 (13:31 -0500)
commit1a1faf7a8a251d134d375b7783a614ee79e932f2
treee89e9eef935bdff58ec84eb052cfa485bf23f710
parente37a79e5d4cac3831fac3d4afbf2461f56b4b7bd
IB/srp: Fix CONFIG_DYNAMIC_DEBUG=n build

Avoid that the kernel build fails as follows if dynamic debug support
is disabled:

drivers/infiniband/ulp/srp/ib_srp.c:2272:3: error: implicit declaration of function 'DEFINE_DYNAMIC_DEBUG_METADATA'
drivers/infiniband/ulp/srp/ib_srp.c:2272:33: error: 'ddm' undeclared (first use in this function)
drivers/infiniband/ulp/srp/ib_srp.c:2275:39: error: '_DPRINTK_FLAGS_PRINT' undeclared (first use in this function)

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c