From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Thu, 01 Jun 2017 20:49:06 +0000 Subject: [PATCH 2/5] ARM: OMAP1: DMA: Delete an error message for a failed memory allocation in omap1_system_ Message-Id: List-Id: References: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> In-Reply-To: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org From: Markus Elfring Date: Thu, 1 Jun 2017 21:54:36 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- arch/arm/mach-omap1/dma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 823dba3dc033..c545b4e01d53 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c @@ -343,6 +343,4 @@ static int __init omap1_system_dma_init(void) if (!d) { - dev_err(&pdev->dev, "%s: Unable to allocate 'd' for %s\n", - __func__, pdev->name); ret = -ENOMEM; goto exit_iounmap; } -- 2.13.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Subject: [PATCH 2/5] ARM: OMAP1: DMA: Delete an error message for a failed memory allocation in omap1_system_dma_init() Date: Thu, 1 Jun 2017 22:49:06 +0200 Message-ID: References: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> Content-Language: en-GB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aaro Koskinen , Russell King , Tony Lindgren Cc: kernel-janitors@vger.kernel.org, LKML List-Id: linux-omap@vger.kernel.org From: Markus Elfring Date: Thu, 1 Jun 2017 21:54:36 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- arch/arm/mach-omap1/dma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 823dba3dc033..c545b4e01d53 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c @@ -343,6 +343,4 @@ static int __init omap1_system_dma_init(void) if (!d) { - dev_err(&pdev->dev, "%s: Unable to allocate 'd' for %s\n", - __func__, pdev->name); ret = -ENOMEM; goto exit_iounmap; } -- 2.13.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Thu, 1 Jun 2017 22:49:06 +0200 Subject: [PATCH 2/5] ARM: OMAP1: DMA: Delete an error message for a failed memory allocation in omap1_system_dma_init() In-Reply-To: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> References: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Markus Elfring Date: Thu, 1 Jun 2017 21:54:36 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- arch/arm/mach-omap1/dma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 823dba3dc033..c545b4e01d53 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c @@ -343,6 +343,4 @@ static int __init omap1_system_dma_init(void) if (!d) { - dev_err(&pdev->dev, "%s: Unable to allocate 'd' for %s\n", - __func__, pdev->name); ret = -ENOMEM; goto exit_iounmap; } -- 2.13.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751252AbdFAUtn (ORCPT ); Thu, 1 Jun 2017 16:49:43 -0400 Received: from mout.web.de ([212.227.15.3]:50648 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbdFAUtl (ORCPT ); Thu, 1 Jun 2017 16:49:41 -0400 Subject: [PATCH 2/5] ARM: OMAP1: DMA: Delete an error message for a failed memory allocation in omap1_system_dma_init() From: SF Markus Elfring To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aaro Koskinen , Russell King , Tony Lindgren Cc: LKML , kernel-janitors@vger.kernel.org References: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> Message-ID: Date: Thu, 1 Jun 2017 22:49:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:j3AJXx9lWTDlZT/dWlbWPq65gxYCSiJx7ni+SoO7yL1Iiky6+YR eClLeBUwbsBO8ypiRuX5AQHr0SEe20HhD93ZY0GyPYQaXB6tHSG84Ygbjimt8YIdQ1B1NMI 81q+Pmm1Qi1QQYwQxN9T6ptJfb1BD381JpRD9tCecxBsCibcR+YXv9eXgq3BaQlkCP6xuMa bq2xEMtQGtbdqRVqytKSw== X-UI-Out-Filterresults: notjunk:1;V01:K0:/9xGbBH7f84=:kC0dJYqp+8ubFu8CX+bm6r eOOqQXqL5SBg3Zr7VGpCORloGs5lvSV3TDky8bnRijzbPx9qbTKkym41+fXsLvh8A2k7wD1Vr APzwSA0SSh3SNHyvcqEWTVRHQgZ7z7kdkcBQ9FS3gFqqrpgnF9DmR0gIufldMPGvOK5jx2aoU UcLTHhjpjsWfMuGrGpwPp8oGHbRRU4K9Ea7fcrtnmq864RvKMFQyuUNwAA6zVjAYtEmuKgL+X jwbN1LS0y6GTes8AieToiL+HGiNlbZZ2S5NcGqT3CNEjd03gFFpMeRBixgnp9xOxL2WULphYg pjO/OPpR4IY+lmFRPSWv2f+e2wDbd9baF5WU6nOaPPzgKay0Fq0N0LowEL+5AO7iizQcVQOlx /eLECinKb8YVnvvGahW/AQEErCj2EOX3BCsj2gR1LMSYr0O34qpQWZc4lPjWLq3SsBeshDg3c M/gScTT65iXd4cESvG4mTuwwjovtQSDyNNgzNCES7kmrlm0Rg/7HhoXpDfUShHE7WOXZtckBF Wj1KOaY6e0+JumVm/wgmoAB4a4HxeY/hOUbYzS4nR7IvUxlrmKlyD85JgtdJSNrYuG+jli3Cb 4shMc950d6G82H0kP5Lh3VsoVXEBfgPbPTaYnl1q2Ys98UYrDgf+a1BcqbNzidncxvn9RBdsy kOyEwKXhQAXqp4eJjp33DPcFEgmVYBPVpIyD4dqUv83Z5uB+IqUPTev5aA4piCHeNUPYsyThO 8l6UJ1DWCmsNrE/emmKQKmt8K/in1XzzcVlf1rKwocnpfWzcBajEa45mc/GJfKWGzC+seOVr/ LU6VNpp Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Thu, 1 Jun 2017 21:54:36 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by: Markus Elfring --- arch/arm/mach-omap1/dma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 823dba3dc033..c545b4e01d53 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c @@ -343,6 +343,4 @@ static int __init omap1_system_dma_init(void) if (!d) { - dev_err(&pdev->dev, "%s: Unable to allocate 'd' for %s\n", - __func__, pdev->name); ret = -ENOMEM; goto exit_iounmap; } -- 2.13.0