commit | 9ee35e4c6f42e792974872ee1ec4115718ce05bc | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Thu Apr 21 18:21:31 2016 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Apr 21 18:21:31 2016 +0200 |
tree | cd29daa415992af4e7aab12d74a90f9146a00de2 | |
parent | 2d8e1f039de842701d35a857a7c5d9d47bc1c639 [diff] |
iommu/amd: Don't use IS_ERR_VALUE to check integer values Use the better 'var < 0' check. Fixes: 7aba6cb9ee9d ('iommu/amd: Make call-sites of get_device_id aware of its return value') Signed-off-by: Joerg Roedel <jroedel@suse.de>