Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp45362pxb; Wed, 14 Apr 2021 09:04:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxtDmH4YJhWhwNdi3Cn5+hcZOjDT1j4qJrp6S2qj/22KsBiKWi4YDfTnZAVnKptxaqfqAQ X-Received: by 2002:a17:906:314f:: with SMTP id e15mr37791594eje.30.1618416284420; Wed, 14 Apr 2021 09:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618416284; cv=none; d=google.com; s=arc-20160816; b=FXuO3tY7n0Wcn1Dwftgouubss0O5LRMmRsogsgJBlNmKUXjz9DkmxvrTdu7VxUfcGw Mec/jp5l7rrIIfuFtCK53XPvQzJlDP/Z9DCj2pm8hgz44hZEqPo5T7CIlPtHlmFRw+Tq CNIchR9dg8zPj1DIiGS3kVvoLwzCfrF2A+sbqlXX0uRmD83vlgQXyjEBBD4OcrngHCUb GZv7ru5KIES1Dm6dZx/AfQ4yWfAUZZ4AWe1W2Vx/Otaq3+MBjWVTHVmIow2BwKG3v1yl q9svgbBl8A92oML56iotuceZ4Rw/p9MTgLcR6s1+pxW3DuYa8hACu66N9GaBxZcteZvs +K8Q== 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:in-reply-to :references:mime-version:dkim-signature; bh=+rJkm+pt7IAIh3meE9DcpUBzUhbdXEUDSKBscpDbcvQ=; b=0AwaCq2Zgo2Wp5dV6+zg26jPzYsr8VIF3qJ9Ts7lITMrkEIlzagaxnmcrxO6ZwLiLe Vj9FaQJDCUP8k2UrzajvQ1AqPinJWAMFiOj16HrjkT+mBuUGnM4FTjoj7b24EN61Kfol x4Y8UbiTk4hfjrWqP0VsPQl1oSrxXN8r2Tu7LMrNOAGLeHVSJhbdX7plceaQPGidp+8L j7/V01rIRJRhQGv9fxSy+jFuLu98jOIcK5LPO7D9szU15PjAGBpFX505pUwkuAEYuIxb Kef2afxHKxe4KOMQY8RdmtLPN0kZQEIT5k8ljWoxD1b52aT0uriDTIO0WQY8WEtqvSg0 WUCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SdJvtJWF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si12629086ejt.650.2021.04.14.09.03.56; Wed, 14 Apr 2021 09:04:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SdJvtJWF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348130AbhDNNdK (ORCPT + 99 others); Wed, 14 Apr 2021 09:33:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233344AbhDNNdI (ORCPT ); Wed, 14 Apr 2021 09:33:08 -0400 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48B63C061756 for ; Wed, 14 Apr 2021 06:32:35 -0700 (PDT) Received: by mail-il1-x136.google.com with SMTP id r5so8933695ilb.2 for ; Wed, 14 Apr 2021 06:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+rJkm+pt7IAIh3meE9DcpUBzUhbdXEUDSKBscpDbcvQ=; b=SdJvtJWFpdtL24ZNlj+RoMxAj5tA6pT+FNmGcPLgHU0k94dxjF7yuNFFoBBo1LY4r6 IhBsY1KplvIJlpe302RTUiVZPvoyVU5AO0u0dNEp6+jD+i7N4WnItL/yk/LlBf0rlXbr 86GH9pU9ZIpe7lbkOa6WmN2CohV0FPVA/gwB0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+rJkm+pt7IAIh3meE9DcpUBzUhbdXEUDSKBscpDbcvQ=; b=op3ZBvgbaNlgKxC1Y43OcDLnV8SETqZ9ng5yUtTShfMidjuKTdby3F1Sv8zgWa79uy zqOA2AsyE1C1UwxiCc0iGHJzQmRztW7ehN5Ohdq2BQ4KdaRBfXKo7swAIPEGSndiTdW6 L+bUIh3MRGwXgjkm5Qx8Zu4LikSjGhhm6x0IrcDMLol+AxJZzxXoE5/k5fvJeduRU7yp NslpQ5SXpWKhXTK1yG/EdZ/K6U105N2la6r0xKGfdI5NWzO44lGhP0Haw34PZVNmKR9o QkW8ciJ4ZlsY3OkwOThsswtCRedOTEsJyIshguuFeE4MafOneX6t9e2bK/k4UJvuruKv c6nw== X-Gm-Message-State: AOAM5315vNXW7ttJLc1qfrXW/3+R0UB+6rmJe37J/b9serowtrCFIgjs +6maaA/h4O0Ce0PicW95W+rVrj7xK/M0WyvppEx3dw== X-Received: by 2002:a92:ce90:: with SMTP id r16mr13484481ilo.220.1618407154503; Wed, 14 Apr 2021 06:32:34 -0700 (PDT) MIME-Version: 1.0 References: <20210412153754.235500-4-revest@chromium.org> <202104130447.2WLAvV47-lkp@intel.com> In-Reply-To: <202104130447.2WLAvV47-lkp@intel.com> From: Florent Revest Date: Wed, 14 Apr 2021 15:32:23 +0200 Message-ID: Subject: Re: [PATCH bpf-next v3 3/6] bpf: Add a bpf_snprintf helper To: kernel test robot Cc: bpf , kbuild-all@lists.01.org, Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Yonghong Song , KP Singh , Brendan Jackman , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 12, 2021 at 10:32 PM kernel test robot wrote: > m68k-linux-ld: kernel/bpf/verifier.o: in function `check_helper_call.isra.0': > >> verifier.c:(.text+0xf79e): undefined reference to `bpf_printf_prepare' > m68k-linux-ld: kernel/bpf/helpers.o: in function `bpf_base_func_proto': > >> helpers.c:(.text+0xd82): undefined reference to `bpf_snprintf_proto' I'll move the implementation of bpf_printf_prepare/bpf_printf_cleanup and bpf_snprintf to kernel/bpf/helpers.c so that they all get built on kernels with CONFIG_BPF_SYSCALL but not CONFIG_BPF_EVENTS.