commit | efca4885b5dea6af906d27b3516f68e0bc1ff9c3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Nov 25 14:01:32 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 11 18:15:48 2016 -0800 |
tree | e160e8a90a7b8fc8c4edb22cb57029eeedeff72e | |
parent | b1ebb975507d07d3ce84695273acc872786194da [diff] |
sparc64: move dereference after check for NULL We shouldn't dereference "iommu" until after we have checked that it is non-NULL. Fixes: f08978b0fdbf ("sparc64: Enable sun4v dma ops to use IOMMU v2 APIs") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>