[PATCH] IB/ipath: fix a bug that results in addresses near 0 being written via DMA
[firefly-linux-kernel-4.4.55.git] / drivers / infiniband / hw / ipath / ipath_kernel.h
index 00a6bbdbe95715605b0e1da0f7bf4d6945f1df83..e9f374fb641ef6f1c8e0870e9e47551bc623188f 100644 (file)
@@ -352,6 +352,8 @@ struct ipath_devdata {
        /* check for stale messages in rcv queue */
        /* only allow one intr at a time. */
        unsigned long ipath_rcv_pending;
+       void *ipath_dummy_hdrq; /* used after port close */
+       dma_addr_t ipath_dummy_hdrq_phys;
 
        /*
         * Shadow copies of registers; size indicates read access size.