On Thu, Aug 15, 2013 at 5:46 AM, Tom Talpey wrote:
> On 8/14/2013 8:14 PM, Wendy Cheng wrote:
>>
>> Longer version of the question:
>> I'm trying to enable NFS-RDMA on an embedded system (based on 2.6.38
>> kernel) as a client. The IB stacks are taken from OFED 1.5.4. NFS
>> server is a RHEL 6.3 X
This bug was discovered by Smatch static checker ran by
Dan Carpenter. If in free_rx_descriptors rx_descs are not NULL
the iser device is definately not NULL as it was created before,
so no need to check it before dereferencing it.
Signed-off-by: Sagi Grimberg
Signed-off-by: Or Gerlitz
---
driv
On 8/14/2013 8:14 PM, Wendy Cheng wrote:
Longer version of the question:
I'm trying to enable NFS-RDMA on an embedded system (based on 2.6.38
kernel) as a client. The IB stacks are taken from OFED 1.5.4. NFS
server is a RHEL 6.3 Xeon box. The connection uses mellox-4 driver.
Memory registration i
On 8/14/2013 10:52 PM, Dan Carpenter wrote:
Hello Sagi Grimberg,
This is a semi-automatic email about new static checker warnings.
The patch b4e155ffbbd6: "IB/iser: Generalize rdma memory
registration" from Jul 28, 2013, leads to the following Smatch
complaint:
drivers/infiniband/ulp/iser/iser