Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1304370rdb; Tue, 30 Jan 2024 14:32:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEd2C6r9cEM0zgYMATHP2g4slfpkABerT8A7RkEVKogI2qrlfCzqZGvyUDHOUn8nf/cR9a X-Received: by 2002:ad4:5cc8:0:b0:68c:45d2:3530 with SMTP id iu8-20020ad45cc8000000b0068c45d23530mr9076641qvb.62.1706653955295; Tue, 30 Jan 2024 14:32:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706653955; cv=pass; d=google.com; s=arc-20160816; b=kIem54Q2nDc4aLJ1z63XS3RxV76HZpbMEWgxzuJICDJeCf0EhTdZ5JfEx/4wNVQELl ziAzO78QUfQG4TjvwDYJQFjUiszx47KGMW/rAbACDDj9tDJcwrjQ1oZBdVgUx9ywNrdz LjgLw4Txm7G6eiV5RmTwMlhg95yocFHyAPcqFx/rB0WuZxuvcBH/9VMvbotRPkVQQnai 3nMOXZNw3i53PfcpKPnwytoyK5TNRU5Q7+XMUnVuDVLg6EoUlctODgvDL1XHEQQhVaOC UL+Dd6q86rVFyJRZasw2Q05ODsQTKqf/uxsMCyIYduvnKZVkXYZvJWhyKmADVh1bqSwW raUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JAB2kkVVtLto1O0phcXvL9Nli468Klpnx1Dh/SQOK10=; fh=5O/mY5RecoZ4GH3Kuv4rvz+u9EI2x+G9c8HRik6Okvc=; b=xg5xXQ1oM8wuTnfHbs+QrRqjvLtnUpkYozPagzjSz1a732OF/A8aqmyzIPCoJY/ERZ PFMKqIYWeVxdPakSDeINJk8r+vvZLfNEsmFwcEO0E/z4SiVnhn3OEw3EytZXJfDVzM/L iTtT0WJXyvC/8akO+fIRUuHsczYGTqAy4PjyGVO/f6Wrfi+6DM+NiNrl4+xGZJST6m5t GgLbwuqxr4qG42+NUUMqZw9rClkCMAbRzHBAt3I6gPbej7PxK/90wRpUHqOMDFS6UsV2 O+IeVhHO/+Ayql6+IJi9Xdkmc5HPRkwgmDUuPRekuUlnkdJyEFgV4bSXJPyoJBl8xVZ7 VKDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Oz8t5h00; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-45402-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ke5-20020a056214300500b0068c641b286fsi1868850qvb.84.2024.01.30.14.32.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 14:32:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45402-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Oz8t5h00; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-45402-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 12C6C1C240E6 for ; Tue, 30 Jan 2024 22:32:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2847379943; Tue, 30 Jan 2024 22:32:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Oz8t5h00" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0694B7866A; Tue, 30 Jan 2024 22:32:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706653947; cv=none; b=tuaWgHXkMyGfM15cTNI5etd55ahqZwpanh09YdnORkdyLeoHHcOgqMGcKm/1xi1MMTMTO9CIP3XFW1N1DGEjYmumjaZ5G+2OASVGgLoIccpeRFuzFwvJBtf4NC/IQTAGzGOnx6sEKuq66OdbBq3nA3gOVDUbFWKKjIOLE5bok5U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706653947; c=relaxed/simple; bh=3JIOZ13F04bYjY3n9eEAQmLaX0QN3tAJ0w2x2SGciug=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AD0CP45YP/Zn7IXLbxVZhZFupO017gtekVghcV6i18feiJTU1eiVbS04n54sd1vYHgMAH5C8PBbFfoB7VSDchhm1r4SZNBfyyJLuRJcxR1hz3EW/V8fyeY9FfnXfYFVPtAXW3PDIFUprTiXkAZezod2H7FLUUy5kfT0DkO1NWmQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Oz8t5h00; arc=none smtp.client-ip=209.85.214.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1d7431e702dso31969295ad.1; Tue, 30 Jan 2024 14:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706653945; x=1707258745; darn=vger.kernel.org; h=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=JAB2kkVVtLto1O0phcXvL9Nli468Klpnx1Dh/SQOK10=; b=Oz8t5h00Y2wRqYqLs9BcaZtAPAwhbWzL0Lmwk/flPJpaAo7tk905wOwi3ht1tAKKpC vN78l+kRVeWHm3+ieCyMNxe0JCMd5MKKabcNrW6R4FDXPd10Kv2+g+pTLL5NADOEAEPl sDz8OmovObfxqVdcAQfeblSiHKQr/+lBUgEhsgdb3IIEHl4BsuNTb2PxVV7WRI0QiXYO K60cGfH/fto+jfTx4Av+Zlsb699SFiWM6d/Kd/bb1sVzJ7/3uRASQLTbSafAyZ30tqM3 pMciXNPdElA7QybUDpYJpLI1HBPC9Aauir/I/trBLBqLiWfBLz+oNs9GIdonFbeajl1T f+cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706653945; x=1707258745; h=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=JAB2kkVVtLto1O0phcXvL9Nli468Klpnx1Dh/SQOK10=; b=J+byJbLwybIjW3SUzuPQIxxn55K3BpAPWM9vnXGpp4ZySn61XD7XHOTZjWFWFSKYcp U5Lht01dB9KuHW6FX7Va8LT/tBAHoyR4SgFjuRYmQYFjn+kfmGBF23dGG3If4SUtmoZ0 RUy6aIJuRJzOjCb3YdSFjR2FOMpghP2RfCKWRibuMWvVoeCbO5YxNiv5ZcQ6iCoISjS/ msb5el3492bxqAbPk16w5olEGzuBRMvTGTN3eCFzOv8NC7UbGWgFOmZaJ4sRt0gVz5BS uUfl0yW4H5cY20/jKyyMZ+999R8+xPpowqAXEJugBmuMdsG5n94ytMKeSHgHSHiMNkWF yKeQ== X-Gm-Message-State: AOJu0Yyhb6ahA8RHBtuInN/+RJ6dcTOZsxfppP7K5DR3uM1x1sdugg8l FQqXbfJou7fenBBh+1+DULdPKZHuGd03PcwsFQ7sbI4acPAU0no/rYf8uq/2 X-Received: by 2002:a17:903:2301:b0:1d8:f827:d9d2 with SMTP id d1-20020a170903230100b001d8f827d9d2mr4889287plh.23.1706653944935; Tue, 30 Jan 2024 14:32:24 -0800 (PST) Received: from google.com ([2620:15c:9d:2:955e:133f:54ba:f642]) by smtp.gmail.com with ESMTPSA id x15-20020a1709027c0f00b001d717e644e2sm7647661pll.247.2024.01.30.14.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 14:32:24 -0800 (PST) Date: Tue, 30 Jan 2024 14:32:21 -0800 From: Dmitry Torokhov To: Brenton Simpson Cc: Vicki Pfau , Hans de Goede , Cameron Gutman , Erica Taylor , Ismael Ferreras Morezuelas , Jonathan Frederick , Matthias Benkmann , Matthias Berndt , nate@yocom.org, Sam Lantinga , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@kernel.org Subject: Re: [PATCH] Input: xpad - add Lenovo Legion Go controllers Message-ID: References: <20240118183546.418064-1-appsforartists@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Brenton, On Fri, Jan 19, 2024 at 12:22:45AM -0800, Brenton Simpson wrote: > Thanks Vicki. I didn't realize they were meant to be sorted. Please try avoid top posting. > > Would it be appropriate to add comments explaining the sorting? The > second stanza, in particular, is sorted by the IDs rather than > lexicographically. If someone sorted it naively, they'd end up with a > bigger diff than expected. Yes, we usually sort by VID/PID rather than the name of the device. > > It looks like a few others have escaped sorting; for instance, > "Microsoft X-Box One Elite 2 pad" appears in the wrong place. Yep, sometimes we mess up. > > If Dmitry wants to land this and then follow on with a sort + comment > commit (or do that first and then rebase this on top), that would be > great. I can take a stab too if that's helpful. I applied the patch (moving the entires to the right place). If someone would send a patch fixing the Elite 2 entry and noting the sorting rules I'd be happy to apply it. Thanks. -- Dmitry