diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-01-24 13:33:27 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-29 09:33:00 +0300 |
commit | 8437fcf14deed67e5ad90b5e8abf62fb20f30881 (patch) | |
tree | e739d4f5b73d90f5293ae66e1d57c2c03885d83b /drivers/scsi/bnx2fc | |
parent | b2d3492fc591b1fb46b81d79ca1fc44cac6ae0ae (diff) | |
download | linux-8437fcf14deed67e5ad90b5e8abf62fb20f30881.tar.xz |
scsi: 53c700: pass correct "dev" to dma_alloc_attrs()
The "hostdata->dev" pointer is NULL here. We set "hostdata->dev = dev;"
later in the function and we also use "hostdata->dev" when we call
dma_free_attrs() in NCR_700_release().
This bug predates git version control.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions