Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1897273rwo; Thu, 3 Aug 2023 01:11:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlH6xhqQrTf5Iqlm7/EVxaKiy3+x84/D0jmoUGbpNCwJg4N+Wsx3Z83t5G2qhyIebv2imEHm X-Received: by 2002:a17:90a:17c7:b0:262:fc8a:ed1 with SMTP id q65-20020a17090a17c700b00262fc8a0ed1mr16608975pja.44.1691050290611; Thu, 03 Aug 2023 01:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691050290; cv=none; d=google.com; s=arc-20160816; b=fwXsgg/lwUUv63ACMn5Gf7Oq9sMhUM7ikkE4Pi8/djJwSqbQJvfYfd/6RcxiWlQx81 YSas0PqySh4qftH4VvaYISeSi9X9MjjRg/2mFb2MdqCuKH4QfAFU9aPew6b0niLro09+ rZ2/I5MQqFRIbVxvXc677YjBiq5JqZjrqPNpYa0b9sUVxaSdK6B0v+wM3lAvSi5lLqsK eV1EDfROGBD38Qck2OfPBywJkT2beHExBuOtM29ZvLqxTzy5UcS4t7i/cJNUcqrsV1Cz eCQHAumMoBElNpBFxnXj/DENlyuvN9GhwRkJ+D9MbCN/E6XTzYxDN1tUWMiK7HbLPPG4 xyXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7erNa/7gWtMsQuK3CJdRoDAQ+93nPpJWVI3LSRtGRa4=; fh=NH3YTeYxOcjIABK2TSvrQw2UyJmPTc6lEf0xBetHHuQ=; b=Bb2GHoTBGfuYGVE9wUwroqGWSI2I2qOKhj5oeIE9BU9oZOoRqP0Yhgq6JHxSxlNh5n ZD3R+x40hTFqTlN85xBaI0I0KsKcjAmT6nPqwNsxBWxE/tbcTm6oRVq0SeRKt/RaozUt t1PBWcwutfnkH3Yd09sw3hsAGFKFH4DjFzSEAVVKJQcmEo+xpsrXh8NYHz1eGnrrWiOn 4jnXYva2MHp4aih4AMBN8iZm2Qpybx6Tz+R65yjmi8vAV7lQgYOyRWQTKUpqEhflBZvW 6zvgiWXiuf+3mLIPSUIJvXuXms5D6m8DCq/7MKRAgcQPCqId4bCqlZNqA5iPaMgWwi0x ngKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mQnkfRlq; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ce4-20020a17090aff0400b0025c16614fa6si2617618pjb.145.2023.08.03.01.11.18; Thu, 03 Aug 2023 01:11:30 -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=@linaro.org header.s=google header.b=mQnkfRlq; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbjHCHAl (ORCPT + 99 others); Thu, 3 Aug 2023 03:00:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbjHCHAj (ORCPT ); Thu, 3 Aug 2023 03:00:39 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E1E9194 for ; Thu, 3 Aug 2023 00:00:38 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fe2de785e7so1066654e87.1 for ; Thu, 03 Aug 2023 00:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691046036; x=1691650836; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=7erNa/7gWtMsQuK3CJdRoDAQ+93nPpJWVI3LSRtGRa4=; b=mQnkfRlqHe6IyazSlgxiWMaDI8tkKvV4o3s97esAhHN6+uKLBZyWn8+1shPF0JFWU1 /tTejz8jz4Tkvk3FxbgISZgrGAAs9qCsKlkl94LB8wJjdwJ+RWh6M1RfwjucgtNVxWds 4wga04tS1n78Uvf9CGES8yMMfi19gdIbLJcCFCZwMsJt7Npee+kxwT8+P5XskoVnSM75 jbvPcSteb5/HjD0yvrc5wYFEDcsXsQL0YYqsx2oiifjgTdcD23qolqZXhK6K2mSGvfve +VltL4q008xON7RjJYck+sko4uv45AeKVTWR1b4O58Ye5T02RcsGS7mj42OhpzdmVULy IoEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691046036; x=1691650836; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7erNa/7gWtMsQuK3CJdRoDAQ+93nPpJWVI3LSRtGRa4=; b=F9c3HBQRvG9lW1Ec36n45hB4iEl3jEy0M66htF+zpVTm6awR6FupWti3d1asu+PfFa MK9nrFIB1llyJZDE04wPNIWHGWuezvYFULplFH3L68pEVfHkFPMq9FHWN9eKedozDtkG LWUj3bTvPpyJYHLMbn3MwI8fEwTMXH7i03xhR9T0jl7RDb3+5Dk2DVxrTiuU0FrWFYKi xPip0bEAaMhEMKQ7h5BOcvuG+isEEodTb0OxZMuPS9e2T/lfAARKYSy9DFe6wDw+6MNi TxhtkCRupOX7pxjZu8tlY9Rp+xU1XaoQ4nfDumkG8en+DaeWTmr4NdlJ2AEZPWjZUxi4 HvBg== X-Gm-Message-State: ABy/qLb8OCA7zZl4bPytfl22WMy47j6FU7zrsnfZpjDoRoj9dbOUHJU5 gMNvRsXIdqQK4cwtKggSh32Edw== X-Received: by 2002:a19:e048:0:b0:4fe:5fc:9c4b with SMTP id g8-20020a19e048000000b004fe05fc9c4bmr5460612lfj.15.1691046036329; Thu, 03 Aug 2023 00:00:36 -0700 (PDT) Received: from mutt (c-9b0ee555.07-21-73746f28.bbcust.telenor.se. [85.229.14.155]) by smtp.gmail.com with ESMTPSA id 16-20020ac24850000000b004fbdba4b075sm3261049lfy.57.2023.08.03.00.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 00:00:35 -0700 (PDT) Date: Thu, 3 Aug 2023 09:00:33 +0200 From: Anders Roxell To: Tony Lindgren Cc: Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Andy Shevchenko , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , 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: <20230803070033.GD411@mutt> References: <20230802114846.21899-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230802114846.21899-1-tony@atomide.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 On 2023-08-02 14:48, 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. > > Let's fix the issue by checking against dev->type and drv->name. > > Fixes: 1ef2c2df1199 ("serial: core: Fix serial core controller port name to show controller id") > Reported-by: kernel test robot > Signed-off-by: Tony Lindgren This fixes boot on e850-96. Tested-by: Anders Roxell