diff options
author | Varun Sethi <Varun.Sethi@freescale.com> | 2014-06-24 15:57:17 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-07-07 10:30:02 +0200 |
commit | 3170447c1f264d51b8d1f3898bf2588588a64fdc (patch) | |
tree | 6bba057a0f26380731f7ad191faff9c9a2edfac3 /kernel | |
parent | iommu/fsl: Fix the device domain attach condition. (diff) | |
download | linux-3170447c1f264d51b8d1f3898bf2588588a64fdc.tar.xz linux-3170447c1f264d51b8d1f3898bf2588588a64fdc.zip |
iommu/fsl: Fix the error condition during iommu group
Earlier PTR_ERR was being returned even if group was set to null.
Now, we explicitly set an ERR_PTR value in case the group pointer is
NULL.
Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions