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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D0E2C05027 for ; Tue, 14 Feb 2023 08:41:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232134AbjBNIlv (ORCPT ); Tue, 14 Feb 2023 03:41:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbjBNIlk (ORCPT ); Tue, 14 Feb 2023 03:41:40 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8987D2384B for ; Tue, 14 Feb 2023 00:41:15 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id EC447614AF for ; Tue, 14 Feb 2023 08:41:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3ECDC433EF; Tue, 14 Feb 2023 08:41:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1676364074; bh=9q+pKx0WlyZOMiVUro9AhQHPwmXUUoepf90OBdHWUrg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PyJ3EjTprZ+v6wZNg6VrP0T/SNaDHXH4ioa53fWBv2csnts39PSgEybafB3y1gDLy Cv58DWNCFVQccLFZQ5GzePKSpmwn6F1iM30OGHCj/Ro/+Sgc3mZ3gFUomL5V/hKtcZ L2F7V8GPaSMFuwIXJRVk+ADdMceuHdKGi+Vgo3ug= Date: Tue, 14 Feb 2023 09:41:06 +0100 From: Greg KH To: Gwendal Grignou Cc: andriy.shevchenko@linux.intel.com, stable@vger.kernel.org, Keith Busch , Sagi Grimberg , Chaitanya Kulkarni , Christoph Hellwig Subject: Re: [PATCH 5.4] nvme-pci: Move enumeration by class to be last in the table Message-ID: References: <20230208030824.235941-1-gwendal@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230208030824.235941-1-gwendal@chromium.org> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Feb 07, 2023 at 07:08:24PM -0800, Gwendal Grignou wrote: > From: Andy Shevchenko > > It's unusual that we have enumeration by class in the middle of the table. > It might potentially be problematic in the future if we add another entry > after it. > > So, move class matching entry to be the last in the ID table. > > [ Upstream commit 0b85f59d30b91bd2b93ea7ef0816a4b7e7039e8c ] > > Without this change, quirks set in driver_data added after the catch-all > are ignored. > > Cc: > Signed-off-by: Andy Shevchenko > Reviewed-by: Keith Busch > Reviewed-by: Sagi Grimberg > Reviewed-by: Chaitanya Kulkarni > Signed-off-by: Christoph Hellwig > Signed-off-by: Gwendal Grignou > --- > drivers/nvme/host/pci.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Now queued up, thanks. greg k-h