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 466B5CCA47C for ; Fri, 15 Jul 2022 05:01:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229638AbiGOFBQ (ORCPT ); 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> Precedence: bulk List-ID: X-Mailing-List: netdev@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