Re: [PATCH 09/24] drivers/iommu: check actual error on iommu_init

From: Greg KH
Date: Tue Jun 17 2014 - 15:20:36 EST


On Tue, Jun 17, 2014 at 05:21:54PM +0200, Joerg Roedel wrote:
> On Tue, Jun 17, 2014 at 10:29:19PM +0800, Jeff Liu wrote:
> > From: Jie Liu <jeff.liu@xxxxxxxxxx>
> >
> > kset_create_and_add() has been fixed to return the actual error
> > code ptr rather than NULL, so update iommu_init() to check the
> > return value via IS_ERR() accordingly.
> >
> > Cc: Joerg Roedel <joro@xxxxxxxxxx>
> > Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
>
> Acked-by: Joerg Roedel <joro@xxxxxxxxxx>

Nope, please do not take this patch, it is not needed and as the kset
call is not changing, it will be incorrect.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/