]> git.openfabrics.org - ~emulex/tmp/compat-rdma/.git/commit
ib_srp: Unbreak build on SLES 11 SP2
authorBart Van Assche <bvanassche@acm.org>
Thu, 4 Oct 2012 08:52:18 +0000 (10:52 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Thu, 11 Oct 2012 13:55:49 +0000 (15:55 +0200)
commit587dab182558cf2f532c957d88d29a6dd4527d7d
tree1fe2608fc969b4968cc00383b885937419078f5e
parent732a4dba9f9f67b2649639e06ae228f8fa7ba6c5
ib_srp: Unbreak build on SLES 11 SP2

Use the <scsi/srp.h> header from compat-rdma instead of the
<scsi/srp.h> header from the kernel-devel package provided by
the OS for the srp_cred_req and related structure definitions.
Also, undefine pr_fmt() before redefining it since the
compat-rdma build process includes <linux/printk.h> from the
command line.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
patches/0025-ib_srp-Backport-to-older-kernels.patch