From: akpm@linux-foundation.org Subject: [merged] rtc-rtc-vr41xx-fix-error-return-code-in-rtc_probe.patch removed from -mm tree Date: Mon, 08 Jul 2013 12:33:20 -0700 Message-ID: <51db1400.Fj0wWnWyPI7KEMP8%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:51213 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752844Ab3GHTdV (ORCPT ); Mon, 8 Jul 2013 15:33:21 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, yongjun_wei@trendmicro.com.cn Subject: [merged] rtc-rtc-vr41xx-fix-error-return-code-in-rtc_probe.patch removed from -mm tree To: yongjun_wei@trendmicro.com.cn,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Mon, 08 Jul 2013 12:33:20 -0700 The patch titled Subject: drivers/rtc/rtc-vr41xx.c: fix error return code in rtc_probe() has been removed from the -mm tree. Its filename was rtc-rtc-vr41xx-fix-error-return-code-in-rtc_probe.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Wei Yongjun Subject: drivers/rtc/rtc-vr41xx.c: fix error return code in rtc_probe() Fix to return -EBUSY in the platform irq get error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun Signed-off-by: Andrew Morton --- drivers/rtc/rtc-vr41xx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN drivers/rtc/rtc-vr41xx.c~rtc-rtc-vr41xx-fix-error-return-code-in-rtc_probe drivers/rtc/rtc-vr41xx.c --- a/drivers/rtc/rtc-vr41xx.c~rtc-rtc-vr41xx-fix-error-return-code-in-rtc_probe +++ a/drivers/rtc/rtc-vr41xx.c @@ -339,8 +339,10 @@ static int rtc_probe(struct platform_dev goto err_device_unregister; pie_irq = platform_get_irq(pdev, 1); - if (pie_irq <= 0) + if (pie_irq <= 0) { + retval = -EBUSY; goto err_free_irq; + } retval = request_irq(pie_irq, rtclong1_interrupt, 0, "rtclong1", pdev); _ Patches currently in -mm which might be from yongjun_wei@trendmicro.com.cn are origin.patch linux-next.patch