1
0
Files
linux/drivers/iommu
Sebastian Andrzej Siewior 39ffe39545 iommu/amd: Take into account that alloc_dev_data() may return NULL
find_dev_data() does not check whether the return value alloc_dev_data()
is NULL. This was okay once because the pointer was returned once as-is.
Since commit df3f7a6e8e ("iommu/amd: Use is_attach_deferred
call-back") the pointer may be used within find_dev_data() so a NULL
check is required.

Cc: Baoquan He <bhe@redhat.com>
Fixes: df3f7a6e8e ("iommu/amd: Use is_attach_deferred call-back")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2018-03-29 10:38:14 +02:00
..
2018-01-17 15:25:50 +01:00
2017-08-23 16:28:09 +02:00
2018-01-17 15:25:50 +01:00
2018-01-17 15:25:50 +01:00
2017-11-06 10:40:53 -07:00
2018-01-17 15:25:50 +01:00
2018-01-17 15:25:50 +01:00