From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/rockchip: Don't feed NULL res pointers to devres Date: Tue, 5 Apr 2016 16:27:33 +0200 Message-ID: <20160405142732.GC11519@8bytes.org> References: <1458558024-6922-1-git-send-email-tomeu.vizoso@collabora.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1458558024-6922-1-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tomeu Vizoso Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Heiko Stuebner List-Id: iommu@lists.linux-foundation.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: joro@8bytes.org (Joerg Roedel) Date: Tue, 5 Apr 2016 16:27:33 +0200 Subject: [PATCH] iommu/rockchip: Don't feed NULL res pointers to devres In-Reply-To: <1458558024-6922-1-git-send-email-tomeu.vizoso@collabora.com> References: <1458558024-6922-1-git-send-email-tomeu.vizoso@collabora.com> Message-ID: <20160405142732.GC11519@8bytes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757073AbcDEO1h (ORCPT ); Tue, 5 Apr 2016 10:27:37 -0400 Received: from 8bytes.org ([81.169.241.247]:50764 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752483AbcDEO1f (ORCPT ); Tue, 5 Apr 2016 10:27:35 -0400 Date: Tue, 5 Apr 2016 16:27:33 +0200 From: Joerg Roedel To: Tomeu Vizoso Cc: linux-kernel@vger.kernel.org, Heiko Stuebner , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH] iommu/rockchip: Don't feed NULL res pointers to devres Message-ID: <20160405142732.GC11519@8bytes.org> References: <1458558024-6922-1-git-send-email-tomeu.vizoso@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458558024-6922-1-git-send-email-tomeu.vizoso@collabora.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.