From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89384ECAAA1 for ; Mon, 5 Sep 2022 06:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236401AbiIEGVB (ORCPT ); Mon, 5 Sep 2022 02:21:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236270AbiIEGVB (ORCPT ); Mon, 5 Sep 2022 02:21:01 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 381BF2B261 for ; Sun, 4 Sep 2022 23:20:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 426A1CE106E for ; Mon, 5 Sep 2022 06:20:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 572A4C433D6; Mon, 5 Sep 2022 06:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662358855; bh=NUWhonAk7FLq7pBR3eroBH9z7hUc4UKLmOah536Q0m8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pfgtgYUE0SV6hUlxgwEORXuIDE2ggX3Y4J0o3+vRWvMwuUMQDPzDu3UMwcmZ74gWU f7qqbValtT8fZ6vK6+aLZlG8LQTIhbVF56ivPZiktvB1FfY/lKc185PPQZlLLdjNs/ t/u6FwzScK3sl0apYjOYY5UK04X+wt/lm5z04yMRICtwYBma1sYPeSFuFuEi/BRxXa 6ZmeM4y32eaenrAwg94/tAZFr5NmS8ufGL3hyupF2Y7ER+9Lqg+CnqeWmZsYVUslJC VFEGExLXXQErr6ttihJJY/9L/TFAWcipgE55hUNTvMgdmjJWCkCRTII8815KUsUKEK nwrfy9wMd9FFA== Date: Mon, 5 Sep 2022 11:50:51 +0530 From: Vinod Koul To: cgel.zte@gmail.com Cc: green.wan@sifive.com, dmaengine@vger.kernel.org, ye xingchen , Zeal Robot Subject: Re: [PATCH linux-next] dmaengine: sf-pdma:Remove the print function dev_err() Message-ID: References: <20220810062532.13425-1-ye.xingchen@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220810062532.13425-1-ye.xingchen@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 10-08-22, 06:25, cgel.zte@gmail.com wrote: > From: ye xingchen > > >From the coccinelle check: > > ./drivers/dma/sf-pdma/sf-pdma.c > Error:line 409 is redundant because platform_get_irq() already prints an > error > > ./drivers/dma/sf-pdma/sf-pdma.c > Error:line 424 is redundant because platform_get_irq() already prints an > error > > So,remove the unnecessary print function dev_err() Applied, thanks -- ~Vinod