Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp997030pxb; Wed, 1 Sep 2021 14:51:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxI+UkudjafEYPSD9sao4loXOKj695WLLz8Wh9kh9c2YifPj+o3TFWqHaI4vwtsOaUiwm22 X-Received: by 2002:a17:906:354a:: with SMTP id s10mr1726324eja.357.1630533119512; Wed, 01 Sep 2021 14:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630533119; cv=none; d=google.com; s=arc-20160816; b=pxMJIQouNofXt/HgatOhHv5O7kdZTPhYyfLEO/G8o/LGJgXPWm1HLslv20jaU7wjov z53TBGYTwsmP69IxwAfZS8kNKSzLFiovf5rhurxBOjg2f9Y1o4WwaJaVP1n9qak3dAlj iByeQpkyIeFDBkN4fNgUQli0qtmLdxSC6mOUn1cSlXS1QGVBlzEVTiyJxDDPVu25ijbo STvf520uLSeHc+hBwwKrvoGGHSksUpCx5PZk82VliUkMQWFa9kY0PbG42oc9emGPXQpu CrYwFg2LVH+p6lMiD4S/q3tMRMP5L5vxnsBYdFoNfw8ReNF7HaZRGAtUZYAqr4tvrbdE CfPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bJRqLiOEp8JXTGlpq3+JJAn5wnhGgMPYEfxoudaUc8g=; b=iV1bCLi9G/8VoNcSNzmngo9FkywycMNqNBi12RJd320hqK1Xii+RgQF3zLdBnnmu8B ctGQPuuZd6+ldMx+w9rhPX9sm8afFnObH0ULTqYXq4pEi+5XhZoYyKgf5Qym6WWelsSd hUPe9vBKmwJs7h4jPD76HmaUsOi0DRegGx2rYYn0roFYyN7BpEpr/clzF1zgFHZlzh0i yPq5yZcRCpnPnJ7fATAr/pPibBV3P+PrsNgQRsV11ROygzg1uWKPVf6kffCxNyrJ/ity r+c5TlMRhRuyWJL4uyYNkILoSnPgIcB3Ybmb0sJAHAsvZPnrDqAWDMI6H6GvFVRLEANF z73g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=DwvxWzy8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd8si1000673ejc.405.2021.09.01.14.51.36; Wed, 01 Sep 2021 14:51:59 -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=@maquefel.me header.s=mail header.b=DwvxWzy8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237194AbhIAKoj (ORCPT + 99 others); Wed, 1 Sep 2021 06:44:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237132AbhIAKoi (ORCPT ); Wed, 1 Sep 2021 06:44:38 -0400 X-Greylist: delayed 417 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 01 Sep 2021 03:43:41 PDT Received: from forward107j.mail.yandex.net (forward107j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::252]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCB45C061575; Wed, 1 Sep 2021 03:43:41 -0700 (PDT) Received: from myt6-ecec3fffc7db.qloud-c.yandex.net (myt6-ecec3fffc7db.qloud-c.yandex.net [IPv6:2a02:6b8:c12:4681:0:640:ecec:3fff]) by forward107j.mail.yandex.net (Yandex) with ESMTP id AE866886488; Wed, 1 Sep 2021 13:36:40 +0300 (MSK) Received: from myt3-5a0d70690205.qloud-c.yandex.net (myt3-5a0d70690205.qloud-c.yandex.net [2a02:6b8:c12:4f2b:0:640:5a0d:7069]) by myt6-ecec3fffc7db.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 1fZrkdnbPm-adH4Jkep; Wed, 01 Sep 2021 13:36:40 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1630492600; bh=bJRqLiOEp8JXTGlpq3+JJAn5wnhGgMPYEfxoudaUc8g=; h=In-Reply-To:Message-Id:References:Date:Subject:To:From:Cc; b=DwvxWzy8/FIiSbgtrncqM9p7Q32h5dWjPq1krdFgsqH/bnpE/scvmCLeuVHPVscxQ sGsDwCTvss2J0yq2kkjk2TMtVqWLK5+rtiiC56H31xhJ/ZQ0rT50fnjGPgKTx3YzLm Hu/880HcH/uUoaFfHCg9GdodZhTtlR/omQ1vnMMg= Authentication-Results: myt6-ecec3fffc7db.qloud-c.yandex.net; dkim=pass header.i=@maquefel.me Received: by myt3-5a0d70690205.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id Z5XXDbYXRx-acB8hfbS; Wed, 01 Sep 2021 13:36:38 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Nikita Shubin To: atish.patra@wdc.com Cc: alankao@andestech.com, anup.patel@wdc.com, bpf@vger.kernel.org, daniel.lezcano@linaro.org, guoren@linux.alibaba.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org, mick@ics.forth.gr, nickhu@andestech.com, palmer@dabbelt.com, paul.walmsley@sifive.com, vincent.chen@sifive.com, wangkefeng.wang@huawei.com, xypron.glpk@gmx.de Subject: Not compiling with CONFIG_BPF_SYSCALL enabled Date: Wed, 1 Sep 2021 13:36:34 +0300 Message-Id: <20210901103634.26558-1-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528184405.1793783-2-atish.patra@wdc.com> References: <20210528184405.1793783-2-atish.patra@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Atish. The above series won't compile with CONFIG_BPF_SYSCALL set: linux/kernel/events/core.c:9912:18: error: assignment to 'bpf_user_pt_regs_t *' {aka 'struct user_regs_struct *'} from incompatible pointer type 'struct pt_regs *' [-Werror=incompatible-pointer-types] 9912 | ctx.regs = perf_arch_bpf_user_pt_regs(regs); Just informing you - hope this is helpful. Yours, Nikita Shubin