From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932716AbcFORBt (ORCPT ); Wed, 15 Jun 2016 13:01:49 -0400 Received: from mga14.intel.com ([192.55.52.115]:58112 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752153AbcFORBq (ORCPT ); Wed, 15 Jun 2016 13:01:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,476,1459839600"; d="scan'208";a="719565306" Date: Wed, 15 Jun 2016 22:38:28 +0530 From: Vinod Koul To: Linus Walleij Cc: Peter Griffin , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "open list:ARM/STI ARCHITECTURE" , Dan Williams , Leo Li , Zhang Wei , Barry Song , Maxime Ripard , Chen-Yu Tsai , Laxman Dewangan , Jon Hunter , Stephen Warren , Thierry Reding , Alexandre Courbot , Lee Jones , 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: <20160615170828.GD16910@localhost> 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=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Jun 08, 2016 at 02:12:27PM +0200, 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 Yes that should be case with mine too :) I think adding a coccinelle script and doing this treewise might be great Thanks -- ~Vinod