Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp49946lqb; Fri, 15 Mar 2024 14:51:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCB/XzDwoT+yWjyUpNpaJ2P0zcXm50QQZfzsRJQrJgTIhYaaRaf4z2kFQpUmz8PqOyfMLbKBsmATnqhfkPWeoSZ6WDAzJQGqLYpUW9xg== X-Google-Smtp-Source: AGHT+IGm6HBVXBc7TM4gKAGnz+8b0l8y0jb0DtNkUCfzIOvQRbPCZn8P88PQ/T5dtnmHEXxEom3K X-Received: by 2002:a17:906:fcb6:b0:a3e:da6:85f8 with SMTP id qw22-20020a170906fcb600b00a3e0da685f8mr3321023ejb.30.1710539511329; Fri, 15 Mar 2024 14:51:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710539511; cv=pass; d=google.com; s=arc-20160816; b=MdzFSY1hG4WnubetJu+78hnHUZOUN1ogDBcGDOiX/Ef+VZyGMe3X5B/4NzDifDhl6Q +3c2FuDAzfDagvg6OaWcPppyn9uy1kWgeYhXWV4C8U/VUqMXTPwL6RuM8MDJe43b2kmq yZwUxfiujMpb4FJW2iiCIm4jZ3qVTfXwLTGLMiOVUhXHx+DNtb6fxre7WvbHvy23wc4i c4wpKUiNHBDR6rNPWWOj22fzby8pRRRjaqfwke+/XR4DQ5scgLXN423trL8fQgMx+34e tWuZtcci0wz62MSLlZQout1rAOtXb2m95g5p6/3fDG+iYUGz9sVsvYtEgCpDUyvseTXJ 7EFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=L5ZB8foePTnF4u2I0lA9UIhadnuaVZ3VBbYBwPMYSG4=; fh=XTyUjB9aYGTasVm+CDcAtk7Px6DIhxl3+I+AjKQ5vTM=; b=NDxOI6j3Ai5Qm3WnAl+WmM98pwiqeXR3ZMIvCWSlF8MKeWmk93ib2ok0Uh0C9DxJC9 a6x6m6H1viy6FtVRNlK7W4XGIENZ3CjXhyHWX1spjhS2nHdsU8CAa0HM6EeIxeBpUbmX La0+ce2SY/qGZPQCBzqxeanhA0Ps4fW9n5QcZAlPT9z3d3Xx3rg6t3Gx3VqoVSrLzF7/ Iu4ZYL0TQ8EKa00iUzxcrlNoUcngyaj3tOxIanfL0GNBvS9Jlgzwi0kIt6TdrjZgwaTW D3qNJu5s5cvWyA/3Zj27rQhy2oKjd113PB4ZuVbjUQOHAl/jbS7AnX0Oll75Efwe2Ucx T9lg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=cZLCF+Nr; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-104603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104603-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j20-20020a170906255400b00a465a467929si2024072ejb.844.2024.03.15.14.51.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 14:51:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=cZLCF+Nr; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-104603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104603-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 524E31F23E0C for ; Fri, 15 Mar 2024 15:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFBF845BE2; Fri, 15 Mar 2024 15:55:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="cZLCF+Nr" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C72E6405F8; Fri, 15 Mar 2024 15:55:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710518149; cv=none; b=ewtP0rBIQOal2t6ek1HkMXhNWvHJOa1wLhZkqojyPi42wsDt1UjvqZnQ4qVKTvJpkwWcEZH0h/a8jB6Kg1C2v2F1YETGIqzknA/iJUj51gohoQW4dpkDjB3zYvmIIqJBlwKMK2dS7OrgyNVRk1ZuW0Ch8oB+auDHw1Z3wgzyaQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710518149; c=relaxed/simple; bh=vRw+Fx0QN/gfXAkPDxRAnnva2M52l29vBj6puMeNuS4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=T9LERzlEzK0D/TKG4bosjU+4U/GjDg3+83CX1C6ERqdZxFv4w8qT0LI2d67uWH2GY/XUSUBoHPwpHIcDfqRFgkgI6MT2fI/CAiA4sHMlqAX46sKohBK93pD5RKyvNteUzpyk9UCkJ7QgjDXtvtpMq9ZFYY5isNUkq1WYxgte6hs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=cZLCF+Nr; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=L5ZB8foePTnF4u2I0lA9UIhadnuaVZ3VBbYBwPMYSG4=; b=cZLCF+NrU87YVXFLSgGkTXf42T CKeJp4b1SUSmKUE/gYhLRXujT7PEUZrO+FDWGsSzMgu5rQzbARF1z0JNSWuqIB1r4YsxouSFk7PVv UDr3T4kmzE9Ru6KkwCgiPAIbMRMqzKkU7JtlPIx+1W13TKboDTGrZnlJZmcFk4tF/y5Kt5pFYTLIC gmfx0oJ2XT3W2FYJ7fb3kfpodUTdPtXXF4pnX0IF37KKpdbiCrcLX1sgebgHNJPrxwvx2VK+MizqD jz93GA2ZZGOndq0TEQ/eQH0jslBPsly8vonut6UrPHaacFEMkajC4QQwnHTj8Z0IvnJPwQeZDDTsA AKBLZhkA==; Received: from [50.53.2.121] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl9uM-00000000jiF-454t; Fri, 15 Mar 2024 15:55:47 +0000 Message-ID: <1c1ea8cc-22ba-40c4-a26a-5339c3050678@infradead.org> Date: Fri, 15 Mar 2024 08:55:46 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/7] HID: bpf: export hid_hw_output_report as a BPF kfunc Content-Language: en-US To: Benjamin Tissoires , Jiri Kosina , Benjamin Tissoires , Jonathan Corbet , Shuah Khan Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20240315-b4-hid-bpf-new-funcs-v4-0-079c282469d3@kernel.org> <20240315-b4-hid-bpf-new-funcs-v4-2-079c282469d3@kernel.org> From: Randy Dunlap In-Reply-To: <20240315-b4-hid-bpf-new-funcs-v4-2-079c282469d3@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/15/24 07:44, Benjamin Tissoires wrote: > +/** > + * hid_bpf_hw_output_report - Send an output report to a HID device > + * > + * @ctx: the HID-BPF context previously allocated in hid_bpf_allocate_context() > + * @buf: a %PTR_TO_MEM buffer > + * @buf__sz: the size of the data to transfer > + * > + * @returns the number of bytes transferred on success, a negative error code otherwise. > + */ Minimum change: @returns: Preferred change: Returns: "@returns" is not documented. Thanks. -- #Randy