Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp284403lqg; Thu, 11 Apr 2024 02:52:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrMyJxiqlPkivLXTwxfuzRHIuSYv2D0S9f24+Z1vD2kscFBwbHGLJD0kuodtlLyrziPdy6mLDQs4CmMgsEXEqAs4L6EFYkbJDpea+VAw== X-Google-Smtp-Source: AGHT+IHFArC7B9HTE7GR23Ozgj0p90rlBgJTutCSSCEClR/TzhDgGDie2u4/bU2r7eEDCbrcpV3+ X-Received: by 2002:a17:906:3d49:b0:a51:e0de:2758 with SMTP id q9-20020a1709063d4900b00a51e0de2758mr3194895ejf.42.1712829127255; Thu, 11 Apr 2024 02:52:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712829127; cv=pass; d=google.com; s=arc-20160816; b=gBd+TTQq/SROufkB0hBeT74TVB/c2CXpB3ZeaZrOacanNP80jV9Ez5v/HPrX02GJeJ JVjWkQTbsMzBhFOW/vOuoIT8mKy516YiErItcGGp55m3z0OIDCrljnP+RFLckMyhCjq/ OCSwM/FeoN4A2uxn5ukoT5bhPNo2jlzLc3dS7F+A4nBOAuSwq6f4hoTtI0+5gm8FbHIo /UsR5/hwsmKvhgTwgEZ7OLTIi92FuBiT+1IgSE/cUQIw/dgRz1D5tbqcwmayLbwQlOpx CjcZB6dswC9tbzF2JNG8uCycf+O4ZBP61xqZMYnKLF4WUDZAP8ZFQWtNyUDeOLe3xU5O hp7A== 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=3AY8WGxQMaJ/3CaE0zpsru6TKca7U/NGJtvPNxYWGFw=; fh=U6k4gPcD5ygAFXptH/UcEQd7x6McVb6LvbWXBSQcJzo=; b=cyJqOHbh4MALXpcoWjTQvEZk7IzL5/jg/xfolqJH//CjQ51Efpd763wsX1pFBaY0Qg 5Xtewc3Dv4+5p1Q0jpwY1gWh/N9A6V3avr4X3yQl9e50ArqDiPDtlx66rt6ozjpAz9iN YxXUJs6Wtm3l8RsD8/RSY4QcTFS3wYeD0n16KCwQePd0t+e0TQHllxhk3L1XKa8ZnFgd KBHf9sneezJByj292fj1mBrLOoE3G28Hr2/CjlvnpTRlSqHqw01M9uxBbOcVlXzGQac3 4UmqzxeosEEnqSxTZvkoIP4GHSruSV2WEgqVa3xA0UxuYJbKN5i1WsiZv5uBFFHFS+r8 enoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="c/vfrxqu"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 kl25-20020a170907995900b00a4e234aa251si575529ejc.61.2024.04.11.02.52.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 02:52:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140205-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=@kernel.org header.s=k20201202 header.b="c/vfrxqu"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140205-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 829041F22A1B for ; Thu, 11 Apr 2024 09:52:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0770F145B13; Thu, 11 Apr 2024 09:51:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c/vfrxqu" 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 196D7145349; Thu, 11 Apr 2024 09:51:56 +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=1712829117; cv=none; b=KbVEpb3+8lDOkv+fE0QOb8+XgSHq+TJIV2efK33zgr2L0ygDPao/DgonypXy//Ns84kEgywzWfd6tuwn/v5nJBjez+qgBR84gFOZf2lmrS4jkzGRJ0j6Ccntt0LNm1zYaTPHHAC/6/2YTDe7F2uGXH0XKh51vA7APnUn2YvZu08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712829117; c=relaxed/simple; bh=gT/UUq46+ZH0vsbo494KIoMOGzMYJiQPkOd5IBmTgEQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jIncgNXbSpBlw/qBN9OJN2V00TzJnsPdaetar0xorl8Sp79r9ZLQ+qmLbWqNXAAZ4Bfad9gZpoCTEfwl5FQ/aP85Er1lAx9tIQ1hB2yosd90c4lNyjXLIFyYT59mciXVhLvXPa0KD2LEwJn0VO3KBjWIZx4zy1MdMa3TGs/M/Hg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c/vfrxqu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B656C433C7; Thu, 11 Apr 2024 09:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712829116; bh=gT/UUq46+ZH0vsbo494KIoMOGzMYJiQPkOd5IBmTgEQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c/vfrxquoSrBfLLtFX1I1HZL7eajm4G91r2NrPKwWhXEduTH9P3b0D3yx2IhiQ7cc 9f0cWcY9JzfPQzoB/LLv1i68u9RNbrzaafk+o3OJ8Mafrpc+XNga3lhxrZTlgiR/em 0ysmyXN2dnt11hyId/ZXqgcWMeGO8xPk4kA5zCY6cpNdnxFdyQ4yFc4oQwkYHilL94 dTRfH7vkgLYNSVHo0sKkBLV8B9UTv9m8hqbZ/0SUVRa7eZteEoZANJRbo6a7uXHdT0 10YoJU1pFflqgsTP6VGcp9EVLVAB5xi85QlG8y4IJIQUQI2g1WjcLZboT/6lxpoZxm 5buecev4qqAug== Date: Thu, 11 Apr 2024 11:51:52 +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, 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): Fixes: 9be50ac30a83 ("HID: bpf: allow to inject HID event from BPF") Cheers, Benjamin