commit | 409e553deeeb08d644ed1110e0f1c97b71cb6409 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 10 13:59:27 2015 +0300 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jun 11 09:42:25 2015 +0200 |
tree | 276c6a82017f980b1ee75cafbb7930f79476570c | |
parent | 3a18404cd952ae529651f72a13e5d6ffee824c2e [diff] |
iommu: Checking for NULL instead of IS_ERR The iommu_group_alloc() and iommu_group_get_for_dev() functions return error pointers, they never return NULL. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>