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 D016BC433F5 for ; Mon, 4 Apr 2022 10:09:26 +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=EZyU6SiOw1kgYMMYepCwR2aZgqO6TJxsmlAmVsw2LCE=; b=hc4rxSIsrllxBb qDpyD4A4AU++fNgo+xDnGA9VeLPwBw6c+d7ttu64myBdSzqB06Soufdl1l2LbO5wKlw4/FLLmcfJQ Em9dwRMMDNznngCtlTjB4fynD9/Va2dzUQA6FSaWjLTlVy3wyTR977PpVEGHnTJ9NsQ0xtATNCSpr XkOJJzXyfTu5wO5W8/1rUGfOi3WDQ6bLnQy+wwXqW1b0NkhN8riGwZOtgtDxBJfoXjcBn72tnz25d 6kC0LXF3xRDCrs9AoRB4uQn0ylNn/UHf4gu9yVLIc3ZAz8IJ3urWyqXX4hMYx6ANEj8GrF4r55iVZ 4305jHnRApieN9xwRcyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbJdI-00EMvb-N3; Mon, 04 Apr 2022 10:08:24 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbJdE-00EMu6-N8 for linux-arm-kernel@lists.infradead.org; Mon, 04 Apr 2022 10:08:22 +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 ams.source.kernel.org (Postfix) with ESMTPS id 62C68B81215; Mon, 4 Apr 2022 10:08:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF209C2BBE4; Mon, 4 Apr 2022 10:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649066898; bh=NTf+zvNBqzjMgNJO8ucCDeDcNZzCKYGVaetxsUuFZik=; h=Subject:To:Cc:From:Date:From; b=q3uEUZXUwi5e8UfnxlDKKPYBtgZZ2VISpBYDFU7mghvFgIpNhmFx/wLp9LrKfzONH AzW4bhUNVsyOZmi9icz3TOTvntfAawJbbdO2rAOfy87rKLp5cH+X8/l2iBplrfa2NU JQa+4Qp9CjLkDXCSDSASo74fZLf9WuFgcgrp+Uwk= Subject: Patch "ARM: 9187/1: JIVE: fix return value of __setup handler" has been added to the 5.16-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:07:57 +0200 Message-ID: <1649066877167243@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_030821_071548_984D467A 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.16-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.16 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) { @@ -255,7 +255,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.16/tomoyo-fix-__setup-handlers-return-values.patch queue-5.16/evm-fix-the-evm-__setup-handler-return-value.patch queue-5.16/asoc-max98927-add-missing-header-file.patch queue-5.16/mm-mmap-return-1-from-stack_guard_gap-__setup-handler.patch queue-5.16/tty-hvc-fix-return-value-of-__setup-handler.patch queue-5.16/pm-suspend-fix-return-value-of-__setup-handler.patch queue-5.16/clocksource-acpi_pm-fix-return-value-of-__setup-hand.patch queue-5.16/mips-rb532-fix-return-value-of-__setup-handler.patch queue-5.16/acpi-apei-fix-return-value-of-__setup-handlers.patch queue-5.16/dma-debug-fix-return-value-of-__setup-handlers.patch queue-5.16/m68k-coldfire-device.c-only-build-for-mcf_edma-when-.patch queue-5.16/printk-fix-return-value-of-printk.devkmsg-__setup-ha.patch queue-5.16/mips-dec-honor-config_mips_fp_support-n.patch queue-5.16/net-sparx5-uses-depends-on-bridge-or-bridge.patch queue-5.16/net-sparx5-depends-on-ptp_1588_clock_optional.patch queue-5.16/pm-hibernate-fix-__setup-handler-error-handling.patch queue-5.16/kgdboc-fix-return-value-of-__setup-handler.patch queue-5.16/mm-memcontrol-return-1-from-cgroup.memory-__setup-handler.patch queue-5.16/driver-core-dd-fix-return-value-of-__setup-handler.patch queue-5.16/kgdbts-fix-return-value-of-__setup-handler.patch queue-5.16/mm-usercopy-return-1-from-hardened_usercopy-__setup-handler.patch queue-5.16/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