Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp292139lqg; Thu, 11 Apr 2024 03:09:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkaYhrUHfuEW3174iVBpkUWylCtWo7Etg4ny2kLqVLc3BuNjuA/6dT18XrsgAsFbx5KUZpJn/KiEGaHf8/n5svmZYgM8qH96HmEB7l2Q== X-Google-Smtp-Source: AGHT+IGnSt3lN/xI7ytw841sIJDI+eppPJ1TyKyPjJdltkKvpwGAgIaIx9SIKaxhTOISH41aRzMS X-Received: by 2002:a05:6a20:914a:b0:1a7:9b0e:ded3 with SMTP id x10-20020a056a20914a00b001a79b0eded3mr3076930pzc.11.1712830186521; Thu, 11 Apr 2024 03:09:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712830186; cv=pass; d=google.com; s=arc-20160816; b=WFVgB3tbHy3g+9fhXDZo9LiyC8/M8auoyhIPi7Ls6fV1Sz0oPTnXaiyp9HCI5Bh1RW prDmcz0h5hICeiUOjJhdPmDJ7W4KZNY6b2zrggpz5MvIjfGW3XkSbDA/IbDktMyEcwAw OjYCgZnykiG94jmG47meIX9tvS3tx135xn6Tno+XC0Zk0WSfI7M7LglMjo9KNFXLI/FR 132R3BopVCBkFyQukNOMQtgtNc2pucYMML7T+mHjq+3v6637OLTr5cJ7YYobUNUtO/hb eMZ3XUB/GX3RnRgm5mHC47c/3xRBw04YAwjl5dmWjznt8dvGqLIoUxtOm1fWSIoPlZXi 0TvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HJ4t7gVHbiySLffMZwBITUBLykVVpG7V2QsA3p8MAU8=; fh=U6k4gPcD5ygAFXptH/UcEQd7x6McVb6LvbWXBSQcJzo=; b=ThAiooTO4nAbQvdV4ZFhcwglUYhPbKthnmNxkMvG6Z0QSdRMkJ/pxHG0/iPz6V2pch qO2MMbioQSf5JzwU6MeopOhjbP2hp+QF4XB/pg6M8NVCvXEmjCkq/FOBKobt0tbIIuT6 RwdVaZ0G1InRnEuYwGH7S9eEp3rn7xDP81Fz3UqcBQLyji1S8zJEj3pHCHA9klO+FbBY eiSCW5Z5aiYs54HvXSKdjpYW0ROkMF3thsM/iUZf/fVXCeEkLyfW1DU8fjS5QvzSRbDV yWNj+/IYTD83J8lVSM7bu0aN1zXDAmUOtbOB7/Y5iczWAjpCOmX4/9moVXvw7MH3rTWo rDxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LjONS3jd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140211-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p26-20020a62ab1a000000b006ed010ff0c5si1142360pff.138.2024.04.11.03.09.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 03:09:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140211-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LjONS3jd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140211-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140211-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 04534B22903 for ; Thu, 11 Apr 2024 09:57:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B40D9145B0E; Thu, 11 Apr 2024 09:57:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LjONS3jd" 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 D92E813FD80; Thu, 11 Apr 2024 09:57:42 +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=1712829462; cv=none; b=fDOTUyZIXwQVdUPucZJLqFtuUokFnkjNYBnQf3Mr8dsTpM90SSp+koCXL47lSwiw/0DshzW/ftHpvUBCq8+yoLCNc3Uvr6CQKoBG143/4t8kny423KEUGyqEL/cwcOL1hEgbdt73iaTDbuLiADBJAG7Us+UruavppMjnKdRSHP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712829462; c=relaxed/simple; bh=ddEn6dsY+sZMSzGOadf4LVubU2QOou4OVQtHAq+mQ3Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=I+a795rGy9LdtJgYPqHmi8sTBPNfgojByKfB4L/pEQeOpZJLKZ1QV8Wl7T+33Nwiz3r5qVobijo/vV32RUIbD6dK3dKQl1RFKIKxnkS+ysFMwNfbI2poOAKkPfzmHoP9q9R68PfxifHt2CkM8ornRruQ8+Vup2/UHd0+bobFZgs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LjONS3jd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF7B0C433C7; Thu, 11 Apr 2024 09:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712829462; bh=ddEn6dsY+sZMSzGOadf4LVubU2QOou4OVQtHAq+mQ3Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LjONS3jdbec+kJkUr6xn5Zse32GJ9eoxLuA1zCngOPZItQj2TAX2AhhCADX3MPmb4 h8t73/28VeVDYus3M+Z4B1lgDxaVizr10J4Cvzq02gNFb4iyBNq0WjLdNGzn5qlA7W AcvF6ZSzyCj/ZqdzenAzqQYNoAqhwteozNUpeReIWdu74CBS+xIXVpospm90rhKz6D uBe0BeDmUnkHLQ9vhgTRlgDI648umeQ7bkyTxRIQEKuwwSV2lm9mNS0Zg7JfaEpczg TebiNMsEHc2H4AVPhj7DhFmJwniGupTITYaPl+j9BUOpET/WhVqaC7MkMiICbI41gf x8HxJcfOO3ETg== Date: Thu, 11 Apr 2024 11:57:39 +0200 From: Benjamin Tissoires To: Jiri Kosina 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 Message-ID: References: <20240411-fix-hid-bpf-v1-1-4ae913031a8c@kernel.org> 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 Content-Disposition: inline In-Reply-To: On Apr 11 2024, Benjamin Tissoires wrote: > On Apr 11 2024, Jiri Kosina wrote: > > 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. > > Oops, correct. I'll add the following (in case b4 is smart enough to > pick it up by itself): FTR, b4 is actually smart enough to pick this one up :) > > Fixes: 9be50ac30a83 ("HID: bpf: allow to inject HID event from BPF") > Cheers, Benjamin