Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5182680rwe; Tue, 18 Apr 2023 03:21:53 -0700 (PDT) X-Google-Smtp-Source: AKy350YDjPnQgIysPdtBIIYN0rWfPwen6Hm+adtzBIcJKZSnPSwIfPUBXMWqGYS+c9K1k6xQnisK X-Received: by 2002:a05:6a00:139a:b0:63b:7af1:47d5 with SMTP id t26-20020a056a00139a00b0063b7af147d5mr9502074pfg.9.1681813313556; Tue, 18 Apr 2023 03:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681813313; cv=none; d=google.com; s=arc-20160816; b=e+lzYUbBtr8uI4iBGprYypG3RMueXmFzwDnIZWGmhoCtFeZwqPT7ptgpdE+Fn5sVvZ xTmlTdCM7wt4JRp/fffOSoNj3bjYK+LWTULVZLp6xzQcgPir7WBt80joy5Gv/IW2Nzzd Ikss6D6rnudoTwgB1Rh74qliz1l35SnF4X+ILZyLAgVNGrUYW7H5S9e+1P/xyUD1bQd3 bSgf/gx9vRIe9/5qFhj7yAbEyu8ukXQCdwWoJhxjh3OpqtG33WumS+B8aQbrL7lTAFz5 vv44YRvj2SPcSRT4/itLq+2iSaIVvm0KCgzHbiS8gWtsDKSG95UOD7/p9AEczX2tT7oB 2x6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=DYl/Oz3UxWL8YEPjdztiHxLe2qdPPPEyqdO/kFl/aj8=; b=afv3jpqbFN7hxgnQD/rgntH1YU1VcsUpHfciyTe+6No4o5vHtUj2smZFUAbI47DsX/ CPMXfwOrDF+rx0HC9Wk0ks/KGVo3Q11iROgbXvP5z+IQ5ZNhAJfn5AarEipK431y0fFc DOZnHR9x1BB3NxC+cBKKQZV4c+qqqPVmN5XswYo42vzXXZz1WL9gIbM2nPOAcxdi9OvU GnNBFHpSRGYD9Iu8a0Q636e6QQ5XEgHQomanP1ihpDTBwXFQ/DFH4pjsm9PtAd3heQfH MV4184/l9SYUt1UfFe80KgIz4RSrOJCSjUFbpJowqnCSVkQJH/vhYfgp5sR9xXDHZYoX D3SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=a678TKWg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020aa79ac3000000b00639e52424a6si13835774pfp.146.2023.04.18.03.21.42; Tue, 18 Apr 2023 03:21:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=a678TKWg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231263AbjDRKSI (ORCPT + 99 others); Tue, 18 Apr 2023 06:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbjDRKR6 (ORCPT ); Tue, 18 Apr 2023 06:17:58 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2F267A8A for ; Tue, 18 Apr 2023 03:17:57 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f048b144eeso34725e9.1 for ; Tue, 18 Apr 2023 03:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1681813076; x=1684405076; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=DYl/Oz3UxWL8YEPjdztiHxLe2qdPPPEyqdO/kFl/aj8=; b=a678TKWgqb1Pt1vIE8NEsK8HmAbDdG3KAKO8UAIjB+tZ6nJM2CI61vM+iQj0hlVyT5 2VPJuSwOc8igGipc+cjuik2EES+biE0lrguoi4/WYdM4boJ86unD4lxMNHiOc9FL/Nhh H+Sn/yMFfu7pFZ2RElVV9mJu1iw2AMlfy81Tax76E8KRcXyifWjKyuWiMs9T3n7Hx26j sHgX+XvMQaz46D/E/hyShD71+SUZsWfbAKR2eNw2loKGIdOfR/RlwHq7HQjpGivWCZUg oNVBjppShCRDUyrBRQn8zei2/Bo8ZVetuKLMP/JRKThpUbpzt85fuxd/8tUiDW6sFrnU na4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681813076; x=1684405076; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DYl/Oz3UxWL8YEPjdztiHxLe2qdPPPEyqdO/kFl/aj8=; b=e0nj0y1yFjjmxDAhA3DEKliEXW+6nsXClIrmYtfX4MLET/zsc794mESNgiJXcYaEcM MPGscmauk3iXAB02fccCotPcKGTOkC8sASM9Dsr6WweODN1MafdMpPD5zKSDDTK4BzzX sTEflrisoiUhuyFUNGyaxgGBWsCN76FvbDG//oPJWatEDFFCXmZ1C/JJzvHaj3y1vYxB kIADe4KXCX5zBelXwSEv66L5mXfaeXNdX6nHTgbz0M6UogOnu5ZrL66bNM7NG1a1fBr9 4+NFeCnA6/aSFaF4WFaVcskEUSV5VKhW/8ggErDnIGKMX1CE0oBEAItMIJ3io0lwRKLY 2Tjg== X-Gm-Message-State: AAQBX9frUhPVpqMUebIncNER/LsBP4/oL+s1ZGw50jeQLUCUIEns4yqf BA2ehxN7TZUhMTIy7APytTanXCqHel7FIxhJhneb7A== X-Received: by 2002:a05:600c:3b8c:b0:3f1:7490:e5a4 with SMTP id n12-20020a05600c3b8c00b003f17490e5a4mr155593wms.6.1681813076345; Tue, 18 Apr 2023 03:17:56 -0700 (PDT) MIME-Version: 1.0 From: Aleksandr Nogikh Date: Tue, 18 Apr 2023 12:17:44 +0200 Message-ID: Subject: arch/riscv/net/bpf_jit_comp64.c build error To: pulehui@huawei.com Cc: linux-riscv@lists.infradead.org, LKML , syzkaller , Dmitry Vyukov Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pu Lehui, I'm writing to you regarding your following patch. Author: Pu Lehui Date: Wed Feb 15 21:52:04 2023 +0800 riscv, bpf: Add bpf_arch_text_poke support for RV64 When trying to compile the "fixes" branch of the "git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git" tree, syzbot gets the following error: arch/riscv/net/bpf_jit_comp64.c: In function 'bpf_arch_text_poke': arch/riscv/net/bpf_jit_comp64.c:691:9: error: implicit declaration of function 'patch_text'; did you mean 'path_get'? [-Werror=implicit-function-declaration] 691 | ret = patch_text(ip, new_insns, ninsns); | ^~~~~~~~~~ | path_get FWIW the compiler is riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2. Could you please take a look? Best Regards, Aleksandr