在 2016/10/14 15:28, Dan Carpenter 写道:
> "wqe" is a void pointer so adding sizeof() works. The original code
> adds sizeof() multiplied by sizeof() so it doesn't work at all.
>
> Fixes: 9a4435375cd1 ('IB/hns: Add driver files for hns RoCE driver')
> Signed-off-by: Dan Carpenter
>
> diff --git a/
"wqe" is a void pointer so adding sizeof() works. The original code
adds sizeof() multiplied by sizeof() so it doesn't work at all.
Fixes: 9a4435375cd1 ('IB/hns: Add driver files for hns RoCE driver')
Signed-off-by: Dan Carpenter
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v1.c
b/driver
2 matches
Mail list logo