From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rQTkz1Mm5zDq68 for ; Fri, 10 Jun 2016 01:30:02 +1000 (AEST) Received: by mail-wm0-x229.google.com with SMTP id v199so112769031wmv.0 for ; Thu, 09 Jun 2016 08:30:02 -0700 (PDT) Date: Thu, 9 Jun 2016 16:30:34 +0100 From: Lee Jones To: Linus Walleij Cc: Peter Griffin , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "open list:ARM/STI ARCHITECTURE" , Vinod Koul , Dan Williams , Leo Li , Zhang Wei , Barry Song , Maxime Ripard , Chen-Yu Tsai , Laxman Dewangan , Jon Hunter , Stephen Warren , Thierry Reding , Alexandre Courbot , dmaengine@vger.kernel.org, "linux-tegra@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org list" Subject: Re: [PATCH 8/8] dmaengine: Remove site specific OOM error messages on kzalloc Message-ID: <20160609153034.GB5438@dell> References: <1465321121-22238-1-git-send-email-peter.griffin@linaro.org> <1465321121-22238-9-git-send-email-peter.griffin@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 08 Jun 2016, Linus Walleij wrote: > On Tue, Jun 7, 2016 at 7:38 PM, Peter Griffin wrote: > > > If kzalloc() fails it will issue it's own error message including > > a dump_stack(). So remove the site specific error messages. > > > > Signed-off-by: Peter Griffin > > Acked-by: Linus Walleij > > A few subsystems may use a cleanup like this... > I wonder how many unnecessary prints I've introduced > myself :P Wolfram did some analysis on this a while back. IIRC he also presented on his findings at ELC(?). -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog