Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp277516rwn; Thu, 8 Sep 2022 01:09:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR48TpaQ4Lw9f7iGYhHIV/bln83NaWrJnaQsekhuTT9u26ztXPKi0sd8BvjpBQXkprstEopi X-Received: by 2002:a17:907:2ccc:b0:741:990f:fe48 with SMTP id hg12-20020a1709072ccc00b00741990ffe48mr5035405ejc.390.1662624578563; Thu, 08 Sep 2022 01:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662624578; cv=none; d=google.com; s=arc-20160816; b=bmRKQE6oQrxTff4d/PXTqb6zVNwJgI+8NROlwqPCwTj1MzgmxjOJPakm7EkDA/b/Bq boeOnW3Na55teOZwmMcoLBH/rM344dXfpiyPEyeBMgXeXD9Uxw/VoVsqgxAS13+OTH9Y c4qsAGCLTHBD+PbPP5SPpX5vAbU9jqrtS89SSlQxzd7h3PesvBXoxvfffesC6MWMRsJC gsp56vi5TNmMsxCY81ETzWPw8FZGWqTQpaU6CSOb8m3BC8Mq6/EvB8ohKlzloWy+H0lS bNP6XhE0nkXPHeSJoEJBcjskGjQ9Xy8W2WKncGqcpkqZA7silHQyz1wbtFJ3gYR37JF+ yHwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=/Zf8QOJ9M5mF2y/X6Be4IDWVoExbUFJ1GsJZMC4KE7o=; b=mBsBTl720+7G79y2ZmA78GIIXsksuCEnpyaTUNVIJdFzg+in6lpz12SDVYnTEDaOay ZVljeYrxOsBwpR4JlN2Z8b44ZFwkvf5M1cGh2XmQrRuEZnqRhoXEsQEzYn9t4pfrNmMk BiLiGFuugrDw1InhzsR0emw9+SukMvGTe5XMrcr0ivoY1QnbIU6cFzYkdFUeKrvqVLNm 1+nkj0DYhm4W1Db/LCvaJ99c6FTGUQboFyYjve9sAXSvv5tcrYV2onzY32TudcIYCyg8 EhRUmOY8M9iPIbqjtBXscLzQmhsN7/o40t+0t54ZQswYfZxys8Bk8YlwTtlCaw7pmAkP facw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cf21-20020a170906b2d500b007309621c10fsi1347755ejb.699.2022.09.08.01.09.13; Thu, 08 Sep 2022 01:09:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230517AbiIHIDb convert rfc822-to-8bit (ORCPT + 99 others); Thu, 8 Sep 2022 04:03:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230098AbiIHID3 (ORCPT ); Thu, 8 Sep 2022 04:03:29 -0400 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BD1BCEB0E; Thu, 8 Sep 2022 01:03:27 -0700 (PDT) Received: (Authenticated sender: hadess@hadess.net) by mail.gandi.net (Postfix) with ESMTPSA id DD9CE20000C; Thu, 8 Sep 2022 08:03:24 +0000 (UTC) Message-ID: <8081fcd13d0aeef26adc51018b7f31a8882dc08c.camel@hadess.net> Subject: Re: [v4 1/5] HID: core: Export hid_match_id() From: Bastien Nocera To: Jiri Kosina Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires , "Peter F . Patel-Schneider" , Filipe =?ISO-8859-1?Q?La=EDns?= , Nestor Lopez Casado Date: Thu, 08 Sep 2022 10:03:24 +0200 In-Reply-To: References: <20220830132549.7240-1-hadess@hadess.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 Wed, 2022-09-07 at 22:09 +0200, Jiri Kosina wrote: > On Wed, 7 Sep 2022, Bastien Nocera wrote: > > > > Export hid_match_id() so it can be used in device-specific > > > drivers to > > > implement their own matching with open-coding a match function. > > > > > > Signed-off-by: Bastien Nocera > > > --- > > >  drivers/hid/hid-core.c | 1 + > > >  1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c > > > index b7f5566e338d..72f8d8835b34 100644 > > > --- a/drivers/hid/hid-core.c > > > +++ b/drivers/hid/hid-core.c > > > @@ -2088,6 +2088,7 @@ const struct hid_device_id > > > *hid_match_id(const > > > struct hid_device *hdev, > > >   > > >         return NULL; > > >  } > > > +EXPORT_SYMBOL_GPL(hid_match_id); > > >   > > >  static const struct hid_device_id hid_hiddev_list[] = { > > >         { HID_USB_DEVICE(USB_VENDOR_ID_MGE, > > > USB_DEVICE_ID_MGE_UPS) }, > > > > If those patches look good to you, would be great to get merged. > > Benjamin doesn't have the bandwidth to test the patches on his own > > test > > hardware right now, but I've been using them daily for a week now. > > Alright, I was waiting for Ack from Benjamin, but based on this, and > due > to the fact that I don't see any issue with it myself, I've now > applied > the series to for-6.1/logitech branch so that it gets as much linux- > next > exposure as possible. Great, thanks! Peter, if there were any other bugs in the hid-logitech-hidpp implementation that needed handling, please file them at bugzilla.kernel.org so they don't get lost.