Per Shuah: "dev_warn() on line 740 should use dev not entry->dev"
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
local_irq_restore(flags);
if (map_err_cnt)
- dev_warn(entry->dev,
+ dev_warn(dev,
"DMA-API: device driver failed to check map errors: "
"[count] = %d\n", map_err_cnt);
return count;