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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2349C433EF for ; Mon, 4 Apr 2022 10:09:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:From:Cc:To :Subject:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZgmlDiPKaUwupXrYDDjFcaR4sY/l+eHlJxsRwW7FXAI=; b=p/QRHk1w65JwE6 JDb+UBkrC32sjpXUSCfAnVQOzH0eEn61QHIUyb25o8BGa/qN99EZOkjJbAEuPZn0ZRfwEYFjIXZBH 1fcX+VYdJoaf6w5h1vXYVtFshCWqfBzEijgxJbthouYtMWhlfL70ccJjRJXRgOevsLIrf9yvKBjUp rSZ1+uq8Q+U9QhVIsma22siWePVLFEPxRIZ5O/7hrrknX55CS500FGgzxRlxdbHd9dpKRGxbbUCn3 IQcQRnDlY7071vtXdeYB85/KFwv+1zeXkoSZYiXAAP6bJ4NKxi+hz4Tzn6GL7g1Xdmd+lrp9lkOqf TK8+qwxei23nnhNiZVbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbJda-00EN1h-7B; Mon, 04 Apr 2022 10:08:42 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbJdW-00EMzo-Jd for linux-arm-kernel@lists.infradead.org; Mon, 04 Apr 2022 10:08:40 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 220AA614C4; Mon, 4 Apr 2022 10:08:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EFCAC2BBE4; Mon, 4 Apr 2022 10:08:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649066917; bh=GH23I+4FAb/tygtjZgFNMSVwthJcvHLAtzUyNUcI4ts=; h=Subject:To:Cc:From:Date:From; b=xQap6aCLN2Ndc1iIrE5TUzZK2aNFj5uEIIiYF765A75nL1kaR1Inzv2j2x1tdSj9T /cPwyelJdNRfCxZM2+j/7DyPFCOiblF42n91j1KQqFCERonYOju2jUP9//7d/VJTfX ay0UNQdCmN54Vstkc4UnMoVEHwKUOAD62AMu4dYY= Subject: Patch "ARM: 9187/1: JIVE: fix return value of __setup handler" has been added to the 5.17-stable tree To: alim.akhtar@samsung.com, ben-linux@fluff.org, gregkh@linuxfoundation.org, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, patches@armlinux.org.uk, rdunlap@infradead.org, rmk+kernel@armlinux.org.uk Cc: From: Date: Mon, 04 Apr 2022 12:08:06 +0200 Message-ID: <1649066886149109@kroah.com> MIME-Version: 1.0 X-stable: commit X-Patchwork-Hint: ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220404_030838_781806_7B39F916 X-CRM114-Status: GOOD ( 18.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is a note to let you know that I've just added the patch titled ARM: 9187/1: JIVE: fix return value of __setup handler to the 5.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: arm-9187-1-jive-fix-return-value-of-__setup-handler.patch and it can be found in the queue-5.17 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From 8b2360c7157b462c4870d447d1e65d30ef31f9aa Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Sat, 12 Mar 2022 07:36:09 +0100 Subject: ARM: 9187/1: JIVE: fix return value of __setup handler From: Randy Dunlap commit 8b2360c7157b462c4870d447d1e65d30ef31f9aa upstream. __setup() handlers should return 1 to obsolete_checksetup() in init/main.c to indicate that the boot option has been handled. A return of 0 causes the boot option/value to be listed as an Unknown kernel parameter and added to init's (limited) argument or environment strings. Also, error return codes don't mean anything to obsolete_checksetup() -- only non-zero (usually 1) or zero. So return 1 from jive_mtdset(). Fixes: 9db829f485c5 ("[ARM] JIVE: Initial machine support for Logitech Jive") Signed-off-by: Randy Dunlap Cc: Ben Dooks Cc: Krzysztof Kozlowski Cc: Alim Akhtar Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: patches@armlinux.org.uk Signed-off-by: Russell King (Oracle) Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-s3c/mach-jive.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/arm/mach-s3c/mach-jive.c +++ b/arch/arm/mach-s3c/mach-jive.c @@ -236,11 +236,11 @@ static int __init jive_mtdset(char *opti unsigned long set; if (options == NULL || options[0] == '\0') - return 0; + return 1; if (kstrtoul(options, 10, &set)) { printk(KERN_ERR "failed to parse mtdset=%s\n", options); - return 0; + return 1; } switch (set) { @@ -256,7 +256,7 @@ static int __init jive_mtdset(char *opti "using default.", set); } - return 0; + return 1; } /* parse the mtdset= option given to the kernel command line */ Patches currently in stable-queue which might be from rdunlap@infradead.org are queue-5.17/powerpc-xive-fix-return-value-of-__setup-handler.patch queue-5.17/tomoyo-fix-__setup-handlers-return-values.patch queue-5.17/evm-fix-the-evm-__setup-handler-return-value.patch queue-5.17/asoc-max98927-add-missing-header-file.patch queue-5.17/mm-mmap-return-1-from-stack_guard_gap-__setup-handler.patch queue-5.17/tty-hvc-fix-return-value-of-__setup-handler.patch queue-5.17/pm-suspend-fix-return-value-of-__setup-handler.patch queue-5.17/clocksource-acpi_pm-fix-return-value-of-__setup-hand.patch queue-5.17/mips-rb532-fix-return-value-of-__setup-handler.patch queue-5.17/acpi-apei-fix-return-value-of-__setup-handlers.patch queue-5.17/dma-debug-fix-return-value-of-__setup-handlers.patch queue-5.17/m68k-coldfire-device.c-only-build-for-mcf_edma-when-.patch queue-5.17/printk-fix-return-value-of-printk.devkmsg-__setup-ha.patch queue-5.17/mips-dec-honor-config_mips_fp_support-n.patch queue-5.17/net-sparx5-uses-depends-on-bridge-or-bridge.patch queue-5.17/net-sparx5-depends-on-ptp_1588_clock_optional.patch queue-5.17/pm-hibernate-fix-__setup-handler-error-handling.patch queue-5.17/kgdboc-fix-return-value-of-__setup-handler.patch queue-5.17/mm-memcontrol-return-1-from-cgroup.memory-__setup-handler.patch queue-5.17/driver-core-dd-fix-return-value-of-__setup-handler.patch queue-5.17/kgdbts-fix-return-value-of-__setup-handler.patch queue-5.17/mm-usercopy-return-1-from-hardened_usercopy-__setup-handler.patch queue-5.17/arm-9187-1-jive-fix-return-value-of-__setup-handler.patch _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel