Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1330424rwo; Wed, 2 Aug 2023 12:12:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlE8FbdBFR9z2ulurGjf6fkZJt22tkxxw5ylG47Qzrm91UvkKJDxo0A1EsgP/TINWJGaVsvH X-Received: by 2002:ac2:53bb:0:b0:4f8:5472:7307 with SMTP id j27-20020ac253bb000000b004f854727307mr4788714lfh.31.1691003565123; Wed, 02 Aug 2023 12:12:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691003565; cv=none; d=google.com; s=arc-20160816; b=T5dfLZF/GwQRfeU9H7DR2vD137dBW5uIqEjOb1f7TjAtpKCQgDG2avTZB098FrevA6 C3bii3j1ZFQDGO6zEMqs4xIJXJu5/NF3KgKcl0Uc4ZbxyuAbNBj3p5yrIFqMiFoGSBtg EchUvi27ODjEudgO2uS6YweclvARBYdyYyQz2K8D/W+hxw0M4m8ZGjZcSKZw/D4wB8CC h1tdV8Lk47xynHQE/H9O++0FZDRkKW5jiGMPFG7Toi5TYFeM2h4Ppoy/7sw7QQc25UkO VxTIBzJ1/btPGjXYqdh1hvBLFplC2d7XwTj/AD+x8riHu4+mNu6FdYeVg+OOFQPVDCaW 5fGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=835Hv4QBvbzeO4Zgwkya1w0YOfQH/0t6IhAjHwIhDMU=; fh=hb0jqp2fJWG3wbnqrJevbn2qFoSN2R39ufF5B+cPtPg=; b=tINLsAx/brfS9k2jyQDxwPQbZiYbQ+ZBiQRfc3gVQnkRgg1XMuwS2Ta1y1GTSfF3V4 439lrPvAHY0S3vGIyUKS6XpNL0i1fs6w0mstb/IC5CzvoT0eD0LP6kGfL6OrCtFoIyAO lN/CtYzkMQGous3Uwa5AMsSkyLDtD+2D16yJpRqG7Rkp2AMnYsPD6yLkEoocPfquN2HS Gil0UuuHCBNJ/PzKJ8z8TN/8vqLKsc+y4zddYYwFDBvOl0la5RfEUZ13YGDm8rMk28uP AkBKMQ2W+fTwIgJ2DmwP7IDSuDApGWPzmZTEgnTf2KhimRHTOj8vHMM3cQLMBKLEIuCh O1Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZVNjGtFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m17-20020aa7c491000000b005230a2b0befsi52163edq.153.2023.08.02.12.12.20; Wed, 02 Aug 2023 12:12:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZVNjGtFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234174AbjHBSca (ORCPT + 99 others); Wed, 2 Aug 2023 14:32:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbjHBSc3 (ORCPT ); Wed, 2 Aug 2023 14:32:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB80A1724; Wed, 2 Aug 2023 11:32:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6A53761AA9; Wed, 2 Aug 2023 18:32:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAE1BC433C7; Wed, 2 Aug 2023 18:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691001147; bh=835Hv4QBvbzeO4Zgwkya1w0YOfQH/0t6IhAjHwIhDMU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZVNjGtFaE0zjnFTk9s+HwpDFCo/tpQHAZJ84BNz6ff88tcX10hojL68VkjR+ohlry u96A0/ygy4xIFByKUAL91b2N4ShiMoKsScqhl+PxOUET/g/rbMcI8teRAadrGMCV4g rzmEJi5QW+tU9FtkrzqDcbomYmGrZoxQsfmi5AG5yPQo1o1Ph5XpoK2/tPz+/ap/CK PgAE5xCCXICBgDN2z7nupHjl1natQOsi2YTdCrfA+DN13WbuywRnoLlgXqA3hLN7dc LEGYIo4Z3dx819TRF0fpk3g02H6afmE65wgqYasJv2CPdqRbN30+kJdFB19QYigh0s kT2ajEkWg0Z3g== Date: Wed, 2 Aug 2023 19:32:21 +0100 From: Mark Brown To: Tony Lindgren Cc: Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Andy Shevchenko , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, kernel test robot Subject: Re: [PATCH] serial: core: Fix serial_base_match() after fixing controller port name Message-ID: <1aac1375-e9f8-4fda-9f07-a4cc7cf23142@sirena.org.uk> References: <20230802114846.21899-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UO+8QaAxAAuPqQDH" Content-Disposition: inline In-Reply-To: <20230802114846.21899-1-tony@atomide.com> X-Cookie: if it GLISTENS, gobble it!! X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --UO+8QaAxAAuPqQDH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 02, 2023 at 02:48:43PM +0300, Tony Lindgren wrote: > While fixing DEVNAME to be more usable, I broke serial_base_match() as > the ctrl and port prefix for device seemed unnecessary. >=20 > Let's fix the issue by checking against dev->type and drv->name. This fixes boot on at least i.MX8MP-EVK: Tested-by: Mark Brown --UO+8QaAxAAuPqQDH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTKoTQACgkQJNaLcl1U h9B7gwf/eHZzom2Lp5Q3hgclWUDcKlP8GAmA2ed+mD6j+1niucW8gGqaV3Op/7ck KbAD34YqjIKLI8xsPYfJO9mKdtVGvks95BnA9EQwyrv12lgfaNI8r/5NZ/zfbAsl fjSjQiiwQLOT/yZXgr74kOfN8lPNCR8fIsDcU7JjStqonh0lTRcMEBbf5C3c0rKg P2il1HvODhxdayoBSCJ13W7ugEys4cVK7AGWeM3mjSmmujDsDLXj2otpDhn2bLkL AOsWxANuSosxrYdcpI4KIZhokbE4xgOWorIS7q3leDvG/nJuM1iDWZnYMy+FApC1 UhIYerNTSoHW3DzEbvBS9jBRY3i+Rw== =pAuJ -----END PGP SIGNATURE----- --UO+8QaAxAAuPqQDH--