1
linux/drivers/infiniband/hw/ocrdma
Roland Dreier 349556692d RDMA/ocrdma: Fix build with IPV6=n
When IPV6 is not enabled:

    ERROR: "register_inet6addr_notifier" [drivers/infiniband/hw/ocrdma/ocrdma.ko] undefined!
    ERROR: "unregister_inet6addr_notifier" [drivers/infiniband/hw/ocrdma/ocrdma.ko] undefined!

Fix this by wrapping the inet6 calls in #ifdef IPV6.  Also make the
ocrdma module depend on (IPV6 || IPV6=n) to forbid the case of modular
ipv6 but built-in ocrdma (which can't work, because ocrdma calls ipv6
functions).

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-05-08 11:17:49 -07:00
..
Kconfig RDMA/ocrdma: Fix build with IPV6=n 2012-05-08 11:17:49 -07:00
Makefile
ocrdma_abi.h
ocrdma_ah.c
ocrdma_ah.h
ocrdma_hw.c RDMA/ocrdma: Remove write-only variables 2012-05-08 11:17:48 -07:00
ocrdma_hw.h
ocrdma_main.c RDMA/ocrdma: Fix build with IPV6=n 2012-05-08 11:17:49 -07:00
ocrdma_sli.h
ocrdma_verbs.c RDMA/ocrdma: Tiny locking cleanup 2012-05-08 11:17:49 -07:00
ocrdma_verbs.h
ocrdma.h RDMA/ocrdma: Don't sleep in atomic notifier handler 2012-05-08 11:17:48 -07:00