aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2014-08-21 21:06:48 +0000
committerJoerg Roedel <[email protected]>2014-08-26 09:15:17 +0000
commitc0df975f9045d6b2b13d88746e628ac308ff49ea (patch)
tree48058cedcc8de6cea39c21949daa60059087b3c0 /lib/string.c
parentiommu/core: Make iommu_group_get_for_dev() more robust (diff)
downloadkernel-c0df975f9045d6b2b13d88746e628ac308ff49ea.tar.gz
kernel-c0df975f9045d6b2b13d88746e628ac308ff49ea.zip
iommu/vt-d: Check return value of acpi_bus_get_device()
Checking adev == NULL is not sufficient as acpi_bus_get_device() might not touch the value of this parameter in an error case, so check the return value directly. Fixes: ed40356b5fcf1ce28e026ab39c5b2b6939068b50 Cc: David Woodhouse <[email protected]> Signed-off-by: Joerg Roedel <[email protected]> Reviewed-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions