From: Joerg Roedel Date: Thu, 21 Aug 2014 21:06:48 +0000 (+0200) Subject: iommu/vt-d: Check return value of acpi_bus_get_device() X-Git-Tag: fixes-for-v3.18-merge-window~141^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0df975f9045d6b2b13d88746e628ac308ff49ea;p=pandora-kernel.git 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 Signed-off-by: Joerg Roedel Reviewed-by: Alex Williamson --- Reading git-diff-tree failed