Re: [PATCH] iommu/rockchip: Don't feed NULL res pointers to devres

2016-04-05 Thread Joerg Roedel
On Mon, Mar 21, 2016 at 12:00:23PM +0100, Tomeu Vizoso wrote: > If we do, devres prints a "invalid resource" string in the error > loglevel. > > Signed-off-by: Tomeu Vizoso > --- > drivers/iommu/rockchip-iommu.c | 2 ++ > 1 file changed, 2 insertions(+) Applied,

Re: [PATCH] iommu/rockchip: Don't feed NULL res pointers to devres

2016-04-05 Thread Joerg Roedel
On Mon, Mar 21, 2016 at 12:00:23PM +0100, Tomeu Vizoso wrote: > If we do, devres prints a "invalid resource" string in the error > loglevel. > > Signed-off-by: Tomeu Vizoso > --- > drivers/iommu/rockchip-iommu.c | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks.

Re: [PATCH] iommu/rockchip: Don't feed NULL res pointers to devres

2016-03-21 Thread Javier Martinez Canillas
Hello Tomeu, On Mon, Mar 21, 2016 at 8:00 AM, Tomeu Vizoso wrote: > If we do, devres prints a "invalid resource" string in the error > loglevel. > > Signed-off-by: Tomeu Vizoso > --- Reviewed-by: Javier Martinez Canillas

Re: [PATCH] iommu/rockchip: Don't feed NULL res pointers to devres

2016-03-21 Thread Javier Martinez Canillas
Hello Tomeu, On Mon, Mar 21, 2016 at 8:00 AM, Tomeu Vizoso wrote: > If we do, devres prints a "invalid resource" string in the error > loglevel. > > Signed-off-by: Tomeu Vizoso > --- Reviewed-by: Javier Martinez Canillas Best regards, Javier

[PATCH] iommu/rockchip: Don't feed NULL res pointers to devres

2016-03-21 Thread Tomeu Vizoso
If we do, devres prints a "invalid resource" string in the error loglevel. Signed-off-by: Tomeu Vizoso --- drivers/iommu/rockchip-iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c index

[PATCH] iommu/rockchip: Don't feed NULL res pointers to devres

2016-03-21 Thread Tomeu Vizoso
If we do, devres prints a "invalid resource" string in the error loglevel. Signed-off-by: Tomeu Vizoso --- drivers/iommu/rockchip-iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c index a6f593a0a29e..0253ab35c33b 100644