]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: Compile with kernel 4.4.10
authorKnut Omang <knut.omang@oracle.com>
Wed, 1 Jun 2016 06:58:03 +0000 (08:58 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:39 +0000 (16:01 +0200)
commit22d706f9e37c70f12b863fa15feda01eefd57242
treec92786cccd5ee1c35823636e0d60eeb2439efb5a
parentd00a3e0199bf600150331a151d74a281ec13baeb
sif: Compile with kernel 4.4.10

* Remove obsolete (dummy) unimplemented fast_reg call impl
  This has changed significantly in 4.4.x and was not
  implemented for older kernels anyway.

* Add ifdefs for new wr struct layout -
  no longer uses union, instead we have to upcast
  to the right type to find the qp/request
  type specific fields

* undefine the mtrr code as the mtrr_del function seems not to be
  made available anymore. The functionality is not used anyway atm.

* Some regressions wrt checkpatch

Signed-off-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_cq.c
drivers/infiniband/hw/sif/sif_defs.c
drivers/infiniband/hw/sif/sif_elog.c
drivers/infiniband/hw/sif/sif_elog.h
drivers/infiniband/hw/sif/sif_main.c
drivers/infiniband/hw/sif/sif_mr.c
drivers/infiniband/hw/sif/sif_qp.c
drivers/infiniband/hw/sif/sif_r3.c
drivers/infiniband/hw/sif/sif_sndrcv.c