Commit 9ee35e4c authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: Don't use IS_ERR_VALUE to check integer values

Use the better 'var < 0' check.

Fixes: 7aba6cb9

 ('iommu/amd: Make call-sites of get_device_id aware of its return value')
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 2d8e1f03
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment