Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp104488imw; Thu, 14 Jul 2022 22:02:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1viPPwi5dw071yEfr3e8ByRJTa/0GSKKkUYv244BD/DwhXf9WbbEhs5+nD0JAS8lcbhzTyJ X-Received: by 2002:a17:902:d543:b0:16c:3150:9ba1 with SMTP id z3-20020a170902d54300b0016c31509ba1mr12151087plf.13.1657861355686; Thu, 14 Jul 2022 22:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657861355; cv=none; d=google.com; s=arc-20160816; b=azWBKJq8Xbr60rrFa1J2eVHFiIl/erS2u1hdp1F8bIhOhOMkEQMwSliPL1DmWv2A2R eAoni8psN4EaFGEPkPn5/vt8ZxyCFpkRY37XBI5CvoLYrXe7xR3r2VvWADIeifg6zd0y G6tHU3C+1jDXE4iplqL5tvasLnsFaa2oZZznqjjIr1S2x+vtwi7iSf1tuIFXS82QVQRS dj6w4aCVxN+wqzZvEi+YpSp/XSet58XcBHhxgDmhuw0BigdHMU5DZpLINVu9sB8GTG0U e0yohAkeMX7ETcDBF566/I9cOZlQg3KN6UJQsH48ygbqqG5dL2wzFxAl5j/LM8mXuq/K 8PQQ== 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=8FfnY4tBYaMIUzaELlNooEXs6W6FqVE/KHK/fHKwqUs=; b=DT6ltRhovUBRXEYlo2/qGjJVdgqcLxxLs/PzfwC1Uvx0LVib9vNiOaOfyxX0JyEjj2 DwnUtPRaWTDQsbhNVjBWJLOXgeK8MqU7K+93NmFFzMwpPvfPJBFmjodSMBxPLX1LQ1IM 6LVAAnk4RSlO1DXg4LRchs5VxZClhrQyo/euVsSx7h8xG+EPYMkariWW4oV++Nq5B4aS vhtoGSpc0uddV/sQu4Dg859I5+BfLNV5ii3DFwFGBv4m/kPJCVSKJDyQMi20GWZqplfD Wndw4k4pr9yTAm+pUeyJCcLdBOJjIi5sAoeHViQS/uVaXggHOkK8kAHc00AvpMvheTyJ E9VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kXDa0ZaD; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk8-20020a17090b224800b001ef9fa82c2fsi2215372pjb.186.2022.07.14.22.02.20; Thu, 14 Jul 2022 22:02:35 -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=@linuxfoundation.org header.s=korg header.b=kXDa0ZaD; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229996AbiGOFBQ (ORCPT + 99 others); Fri, 15 Jul 2022 01:01:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230055AbiGOFA5 (ORCPT ); Fri, 15 Jul 2022 01:00:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE67B7858F; Thu, 14 Jul 2022 22:00:56 -0700 (PDT) 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 86FF162223; Fri, 15 Jul 2022 05:00:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5797BC34115; Fri, 15 Jul 2022 05:00:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1657861255; bh=UiKByJ1/WXzevn9TLAXJgaH0VDyTla3TnZLR9v/ODvo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kXDa0ZaDK0iSZEmiJiWoC0HBsgipwvNJ6IO+vXex2ZcLUtLqbX2OLmzA4zhIzYEwM 6f6oTjAnoIhp/yEPpXF85wNhNAjHqvZrcHIVHdi6KbcRNBYH+fBHqqDq3XtMH86yFN r0uNL9/N/ZqoXOIRft/x7MGLbFRYKQNYKSSRVhs0= Date: Fri, 15 Jul 2022 07:00:53 +0200 From: Greg KH To: Benjamin Tissoires Cc: Jiri Kosina , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Shuah Khan , Dave Marchevsky , Joe Stringer , Jonathan Corbet , Tero Kristo , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH bpf-next v6 10/23] HID: export hid_report_type to uapi Message-ID: References: <20220712145850.599666-1-benjamin.tissoires@redhat.com> <20220712145850.599666-11-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220712145850.599666-11-benjamin.tissoires@redhat.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Tue, Jul 12, 2022 at 04:58:37PM +0200, Benjamin Tissoires wrote: > When we are dealing with eBPF, we need to have access to the report type. > Currently our implementation differs from the USB standard, making it > impossible for users to know the exact value besides hardcoding it > themselves. > > And instead of a blank define, convert it as an enum. > > Note that we need to also do change in the ll_driver API, but given > that this will have a wider impact outside of this tree, we leave this > as a TODO for the future. > > Signed-off-by: Benjamin Tissoires Reviewed-by: Greg Kroah-Hartman