Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp269532lqg; Thu, 11 Apr 2024 02:08:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmudagu8DYyWJVP+bcKMFWWWm8XpGjKRv803Mdxd9Fys2yVzghxkjQe9bSZibng2TwxHZICb3gjHfttPzL/7Lg369boasf9uuxtfa37g== X-Google-Smtp-Source: AGHT+IHQ25BqedOdmz6bbeAoON4Q30CJB+i4VCV7HaQllQguJMHiu8K2VzSLCZ9haYI++AKdj5dG X-Received: by 2002:a05:620a:8cf:b0:78d:5c77:a5d5 with SMTP id z15-20020a05620a08cf00b0078d5c77a5d5mr4774783qkz.33.1712826507287; Thu, 11 Apr 2024 02:08:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712826507; cv=pass; d=google.com; s=arc-20160816; b=GrYo5FJ7NGrCtBo3HVQonQVlq+cEO4jIFoFIM/zC67hiIX9Mic66H2HObhLWAduj/E MrQzxVrebbFpUe13msa0l0OY/AbQcN6KATixgEihlcEihBGhX6peA1G+hUXt5qNg6eCH YE45W8FkiO5/yYlIZvRDlBTTkCOpqAx85UGYb0IYAPkUYyS+wFe53mRteY1l/6foZVxn p/fNIEKryqlOLdPVwiN4yEUFGk/RBjpEscrmqtapEmEo5ItSZp9eUholWMUs3DbLQDpt 3gzAmVKIGZkDam6lj4X4h+JDhDrVU1pOc8ZEq043jU8HpKnLQdF8OuF1orl6ZJ7CH/f4 3qvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=FeituHKyQ5jfe7aFSF1Xbzbs8gIhjZYKaBvXn3aTCnY=; fh=dWneAKveJQ6OJCmQTnnlAL1vjkqkPs8A/fhDKpqQ4lo=; b=NnFm8yUk4I0lXmolKQ6x4l/jIPgLIzcKgaLUErRnpFtG6p1IRmM1ZdcyUzW1TY6/fQ ISc8OLscOG31lGtBf66hQC7fORDcT5zWAAaeRz0sXxHQ+PPeVIE1jn6sTD+ea5OlnDdB dwC4rxmIXnhWoa9dTmXowubf9OratNV6r3izedd14+pKvHX0/R7aOdSIv9zUBASwItDh 5mfchQqdlbOUNBZJAY1lDEYTllUkWYFowO9wNBcuL3XoFjoEoaTyYoEQXzFhKrs+sVQF 6lwdAI6ADbzDJ3oCyf+jN+iixmb5AyHVCHjNhjrvcOvosWbc7HieqsWnpprzgAj4RPqs 5fPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jglRRx3v; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140139-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140139-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i25-20020a05620a145900b0078d6cc21128si1074353qkl.618.2024.04.11.02.08.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 02:08:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140139-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=@kernel.org header.s=k20201202 header.b=jglRRx3v; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140139-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140139-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 084C41C21B49 for ; Thu, 11 Apr 2024 09:08:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FC5814389F; Thu, 11 Apr 2024 09:08:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jglRRx3v" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B925B5CBD; Thu, 11 Apr 2024 09:08:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712826499; cv=none; b=hEJAxpSfx9u/Ohhl8sLGIcFzOfTu+8Zv66bHSlPqZjpwtYbJzS3R1YUalI6o/aoQ8KB0DNXsZR0nad6TyBG7VR5Cg8rsow5A+d24xiGN416i6mbgagilUvlnR6c2tsSJ0g0PBiaj4eM2+pWoX44VWDXRBz6rr3yeRCqlWrLWimg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712826499; c=relaxed/simple; bh=CjcEJ0njrZnjfmJLychiyJIve3HrhAs1E1Yd0lbqPX8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=h1elkL4WYWT/J5Bd0ziKs3XVvmzVHsrrMjUTSjNPU7mQsz0mRNxmjj3CzaJ6kXA7ss9x4LqUou9kIoaJ7Pqsh5JjpRQ/EPjZi4ZDGbVYs83lgPmcRwfBMU34FXYqo1oqAe3JivhAkSK8r7P0u67nYOPlk4XluLfyZ+Vw0EbXMjg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jglRRx3v; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4758C433F1; Thu, 11 Apr 2024 09:08:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712826499; bh=CjcEJ0njrZnjfmJLychiyJIve3HrhAs1E1Yd0lbqPX8=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=jglRRx3vOSXQJb0OkdxmIXoAuCtyWLgOOfcfIa95LLpPJA33iWAItDeq1L7t78b6c /AHcP7LNCyKxiK0JxoJZ5uJ953br2VKRU8nKF+aWF1wJDfBbIW9QnFnoE4B7+kEO5l G2RB4bhL4SpBBJyy1rPSOVjSaLKHp9fJzvP2OtVOl3x0EKk0S/AAtd0dZamiQCPuxR gU0jnQRhDAaoBM0ztx5tBm5FuemoJPT3LCUMriBrCn48rrvcV0auKTXK5rFx0RG5U4 8OynzgcfKs89uvd5iElRC2AyYtAKfF+W6p48eetDeu9QyrqjrM53lRvBSxJEKHU0op G0vGlMXmvv1NQ== Date: Thu, 11 Apr 2024 11:08:16 +0200 (CEST) From: Jiri Kosina To: Benjamin Tissoires cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: bpf: fix hid_bpf_input_report() when hid-core is not ready In-Reply-To: <20240411-fix-hid-bpf-v1-1-4ae913031a8c@kernel.org> Message-ID: References: <20240411-fix-hid-bpf-v1-1-4ae913031a8c@kernel.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) 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 On Thu, 11 Apr 2024, Benjamin Tissoires wrote: > Reported by linux-next: > After merging the hid tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > x86_64-linux-gnu-ld: vmlinux.o: in function `hid_bpf_input_report': > (.text+0x1c75181): undefined reference to `hid_input_report' > > Caused by commit 9be50ac30a83 ("HID: bpf: allow to inject HID event > from BPF") > > I just forgot to put the indirection in place. > > Link: https://lore.kernel.org/linux-kernel/20240411105131.7830f966@canb.auug.org.au/ > Signed-off-by: Benjamin Tissoires Please also include Fixes: tag. Thanks, -- Jiri Kosina SUSE Labs