Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1981570rwo; Thu, 3 Aug 2023 03:00:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlH6IPrPsIN4UE1mJNCAqG8mZ9qsloH2D5I8SR8/XvUlyl2PWYpJxOXRrbIm4o/gwbWkxwkI X-Received: by 2002:a05:6a00:2353:b0:668:79d6:34df with SMTP id j19-20020a056a00235300b0066879d634dfmr23156035pfj.23.1691056856735; Thu, 03 Aug 2023 03:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691056856; cv=none; d=google.com; s=arc-20160816; b=A1Zkcs9tLVXhtfIAYybMVLJJYzjvtcqLYz+2zZ/wiSiq3iCTFuAUr0+I+wTdGjbDhb D+FEswjWZcQPIrv34h5FudD88VQ+FJNhMchHcCugDvZe7TqfrzftKCv2AlVTC+mesMMv WKuR/t8kCEiKMu51d6k1TR7oVfhMm3/ypiJAFoUqj0tFTduRwU+VYo098LQPMFXvz6Fn wP0NEY6EqVG/nC+NP9ZS1LYg/KbeAWGJLnHiD0ix2Wpo8AVAyz8Hy6Ku1P5gHvnvlQmk /DpqaEzpHR9IxUTcfUL3k6VuP66RP3PgAKQPb3K0x/PIw378xViQ2wKkzspHXBTBYW+/ pVVQ== 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=s392KWLBPva4ZDHyvwglh72cuwR/zPNJLR4K6ZYKIng=; fh=4eA30u309xT0Ck+HXlgmiQkCa9OZm3oBqrfo/iVZVvU=; b=hiZSGSQ91hQc1UW0JAtdg8212YScIU+kJ5Si1xsw3rAI9whSvpUvqw+TdQ7yFRLsnS kS9OY0ztFCJiks4dPqYjgbAs3P046z0Q3BiwPD0b9v5pR5LwytiAQNtyimKwKUG/lYyP GOFB42+l+W0YwVr42LHQUUDq3Nx1fDobvmB72QsnotCwnhKGlt/ouc1n3mIlZ0rBSxsg 9qD57SNV3NnIehjU4V2Du3lIcCfV3ckHpAnppSkm8kGPB3f39LBioHZpu83OT2cgWJbn BFVHxRqUsxDhuekG7ru6pr0MOr3chuOAOGOVBRJs4BdLLf821sBLFF5E5k9HknEe4uCy GMLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="GJlqrq8/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp20-20020a056a00349400b00666ad95e625si7832437pfb.337.2023.08.03.03.00.37; Thu, 03 Aug 2023 03:00:56 -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=@microchip.com header.s=mchp header.b="GJlqrq8/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233940AbjHCIxk (ORCPT + 99 others); Thu, 3 Aug 2023 04:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbjHCIxi (ORCPT ); Thu, 3 Aug 2023 04:53:38 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 715AAE43; Thu, 3 Aug 2023 01:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1691052817; x=1722588817; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1DUG1YI9NaBIZLAvEQTa5XZeeipNelrYpejz4hwab7Q=; b=GJlqrq8/zVUazAgzGQ9TGMAu6CTZYnKIZfTOu6EhRGjx3wuZRofCwO8o 2gBDwPEC/XlV3U0kB33kAlXqpD6FZH0zTEzlVEPDtXjWID11MwS1jh6DA jQrNgWXOK2Qw+g18W4JkwqO1jMAog+LbLviLqSdfuUpl5s08hIIUIU5/M Sz/26UtEM0U1yCP0psQsMN6zJ8musiNaf88Ae7q7MetKRvIWv3HLu49LT 4Jq/pNRCCJR6t36E3xBzojcnUM2F4F8r8yTgpPhIi60IFoSGh5AglHH5G 60LTJYXwUpp/F9jIZ+K42QFElRnLoal93ziRgH/3dQqXDJKyKNTNw8BqN g==; X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="asc'?scan'208";a="164637452" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Aug 2023 01:53:35 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 3 Aug 2023 01:53:35 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 3 Aug 2023 01:53:32 -0700 Date: Thu, 3 Aug 2023 09:52:56 +0100 From: Conor Dooley To: Greg Kroah-Hartman CC: Tony Lindgren , Jiri Slaby , Andy Shevchenko , Andy Shevchenko , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , , , kernel test robot Subject: Re: [PATCH v2 1/1] serial: core: Fix serial_base_match() after fixing controller port name Message-ID: <20230803-molecule-shelter-aa71b219af26@wendy> References: <20230803071034.25571-1-tony@atomide.com> <2023080351-chaplain-headgear-bcbb@gregkh> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SqrNJ+wWy5BRsFok" Content-Disposition: inline In-Reply-To: <2023080351-chaplain-headgear-bcbb@gregkh> 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, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, 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 --SqrNJ+wWy5BRsFok Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 03, 2023 at 09:50:03AM +0200, Greg Kroah-Hartman wrote: > On Thu, Aug 03, 2023 at 10:10:32AM +0300, Tony Lindgren wrote: > > While fixing DEVNAME to be more usable, I broke serial_base_match() as = the > > ctrl and port prefix for device names seemed unnecessary. > >=20 > > The prefixes are still needed by serial_base_match() to probe the serial > > base controller port, and serial tx is now broken. > >=20 > > Let's fix the issue by checking against dev->type and drv->name instead > > of the prefixes that are no longer in the DEVNAME. > >=20 > > Fixes: 1ef2c2df1199 ("serial: core: Fix serial core controller port nam= e to show controller id") > > Reported-by: kernel test robot > > Closes: https://lore.kernel.org/oe-lkp/202308021529.35b3ad6c-oliver.san= g@intel.com > > Signed-off-by: Tony Lindgren > > --- > >=20 > > Changes since v1: > > - Leave out magic numbers and use str_has_prefix() as suggested by Andy > > and Greg > >=20 > > - Improve patch description and add a link for Closes tag as suggested > > by Jiri > >=20 > > - Check the name against device_type name since we have it and leave > > out the changes to try to define names in the header because of the > > issues noted by Jiri > >=20 > > - Leave out Tested-by from Mark and Anders as the patch changed >=20 > Thanks for this, now queued up. Seems like I am a bit late, but FWIW this does fix my boot failures in -next: Tested-by: Conor Dooley Thanks, Conor. --SqrNJ+wWy5BRsFok Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZMtq3QAKCRB4tDGHoIJi 0hzrAPwNe3Aci1oYSam7q2JubnqG7pAXfKkMra6oE8XJJWnaAgEA+tcvAHd/Uxl6 hWtkS4rt9R1xmhsUfEj/FVcMrh8ZCAc= =VAFL -----END PGP SIGNATURE----- --SqrNJ+wWy5BRsFok--