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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4DC7C47404 for ; Fri, 4 Oct 2019 12:52:15 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B972321D81 for ; Fri, 4 Oct 2019 12:52:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PpdDrqU5"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="2HO6pFR+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B972321D81 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nKK7GUPXQSPDGW9otjziT/UpSzURSpd15LzH03+OsDQ=; b=PpdDrqU5o49rhL TCuEMWLnbPzXO6VgNjOGzrJzdrvOzXQvdSfF8378Utqi/gWl4R39x6d39Jqzb9L46gt4+UYDBpNWL eVSGxEfEAI4xHqSiDg6JKGyviBKkGyCcYC/8ByUYUkMdEbZRxJzJmAF6tL9S90dwRT3Tz17drBQGk MlRXAtIOhLfb+Wlgz9gbpxf+1Gok+CKr7JAJVNhBFIpbXvIB1wIcrCwxdTgF/zjWzHlM1IiXe1+Og ZSyVc8fnhstlD6nh6fhaSTncDa1bI/giKt7+szTwzgpfSY6l6J9Cyo4Z6T8oI+kaBQBqKB1SfPvdL vZ0dQqf7dmTFC47iqt2Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iGN44-0003nk-Qa; Fri, 04 Oct 2019 12:52:08 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iGN42-0003nF-SX for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2019 12:52:08 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 662DC2070B; Fri, 4 Oct 2019 12:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570193525; bh=WqlDNg8S8OuSkb9b25DHAZ1G6+OOGdlt/5Jwh2jA7fo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2HO6pFR+mwiaYeowV/EK8iLj1OCuQhfmaLxL5twOFHecZ9MPzzUo7Szwj5ERMCkbf lbRoi/5i4NQ2eThQ9uf47iLzQxgffEhozvqfP6Zr2HgeuTiB/HPph+XzdqqHPsqWrx xeJEUHcNDCw+8Dpyz9QR6D5l9xlW807icdSlneDs= Date: Fri, 4 Oct 2019 14:52:03 +0200 From: Greg Kroah-Hartman To: Michal Simek Subject: Re: [PATCH] serial: uartps: Fix uartps_major handling Message-ID: <20191004125203.GA583048@kroah.com> References: <00a269bc15c4f8c0a73c14958c5d7a5d37ff70ce.1568359707.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <00a269bc15c4f8c0a73c14958c5d7a5d37ff70ce.1568359707.git.michal.simek@xilinx.com> User-Agent: Mutt/1.12.2 (2019-09-21) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191004_055206_941015_1F45D2EA X-CRM114-Status: GOOD ( 10.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: monstr@monstr.eu, Paul Thomas , linux-kernel@vger.kernel.org, git@xilinx.com, linux-serial@vger.kernel.org, Jiri Slaby , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Sep 13, 2019 at 09:28:29AM +0200, Michal Simek wrote: > There are two parts which should be fixed. The first one is to assigned > uartps_major at the end of probe() to avoid complicated logic when > something fails. > The second part is initialized uartps_major number to 0 when last device is > removed. This will ensure that on next probe driver will ask for new > dynamic major number. > > Fixes: c9712e333809 ("serial: uartps: Use the same dynamic major number for all ports") This is not a valid sha1 in Linus's tree :( Please fix up and resend. thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel