From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABB84C433F5 for ; Wed, 23 Feb 2022 19:22:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E7D828D004D; Wed, 23 Feb 2022 14:22:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E2D168D0011; Wed, 23 Feb 2022 14:22:30 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF68C8D004D; Wed, 23 Feb 2022 14:22:30 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0026.hostedemail.com [216.40.44.26]) by kanga.kvack.org (Postfix) with ESMTP id AAAB58D0011 for ; Wed, 23 Feb 2022 14:22:30 -0500 (EST) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 34EBD181B566E for ; Wed, 23 Feb 2022 19:22:30 +0000 (UTC) X-FDA: 79175016060.31.8AB2F2F Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by imf04.hostedemail.com (Postfix) with ESMTP id 6C50840006 for ; Wed, 23 Feb 2022 19:22:29 +0000 (UTC) Received: from mail-wr1-f53.google.com ([209.85.221.53]) by mrelayeu.kundenserver.de (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MRBWU-1nZ8wZ3Gg0-00NBdv for ; Wed, 23 Feb 2022 20:22:27 +0100 Received: by mail-wr1-f53.google.com with SMTP id j22so15182874wrb.13 for ; Wed, 23 Feb 2022 11:22:27 -0800 (PST) X-Gm-Message-State: AOAM530Iwqub2+TSktYHmiIbaUdhIF8XXeoNKs8tsRA+np2b5IvdQtbl 0FQDeARWA5rY9Ab1Rcdg3BM/YBOJc1saRgoodsw= X-Google-Smtp-Source: ABdhPJx5kWm3yEHjjPXfZPTJvqyGAyB/hm/cLx1iy5Z8sCieEHpbtSW79CmJe3LwWMtdazMmkTTOcDTJPg8uSOGS1ec= X-Received: by 2002:adf:cf0c:0:b0:1e6:22fe:4580 with SMTP id o12-20020adfcf0c000000b001e622fe4580mr817766wrj.12.1645644147162; Wed, 23 Feb 2022 11:22:27 -0800 (PST) MIME-Version: 1.0 References: <202202240123.jVKXO4uv-lkp@intel.com> In-Reply-To: <202202240123.jVKXO4uv-lkp@intel.com> From: Arnd Bergmann Date: Wed, 23 Feb 2022 20:22:11 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-next:master 6322/7526] arch/riscv/kernel/perf_callchain.c:19:26: sparse: sparse: incorrect type in initializer (different address spaces) To: kernel test robot Cc: Arnd Bergmann , kbuild-all@lists.01.org, Linux Memory Management List , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:7+PSWS6LzTsFku+nGN2pvpleXwhN9wD5OIJ71k7M2byXj6uySoE ufm3sHBw7zP8pLb5uylYYuIaLJiWlK3HMgqGKXIOqFg1hVM+WEJjINsCruC8yPTbc8QWkjv ki324YgRHGxHGCZ6rjJLfKb9P67hfO9/DRbQgcuUZKWlOO5JgxtpMDOJen2Ln3lqhXVNNSL LyosDw9+aowh0apLakftw== X-UI-Out-Filterresults: notjunk:1;V03:K0:wCNt2QMX6gk=:FKMrbqCvfKVRaMgPOx9/72 dH+j/etjfSSw9xLe+O7WmgV6ZsP5IvvYJArtoZeAxxbAzLXtfOvGQXeDgauF4MLpenn7Ea6w9 WBH3yWZV+qDjcA3t4S+ubTm+Ld4A3i4b3R1OrOBrW6D0iz3oahCWH3jx38hdH6jaZ7Uw/Gi4G sQmGlMKX0BTZK5c5zwMCm/aDsPJ4jGCUOH82LhAWNpPMLgL8QaetCGBUVwTiLmzBerkyjCsUB oR35zLeoOSe97mmVTuRtl7aVtnukDwfqIeEQCk7lOlZ3k/DD0rKtPuLKoyAg6fVP4LNfHEhOe 2WovIw5djBb8ALfIFbZeDOV92UwQBUloDGvslUuNPIfrFeTdFz58bZam2c6iCz4BtVM0fyRmf rP7Ht6WemG9EvI429/ElSxevxJxsc/6P5dk/yzlLsOXbjs/Ur7RgU/enzwQPhjrvD/Ffahqfo 4v9JWogFCi5mg3SMVNvaVhPQe4gFPzdUDThmi6cwXGDH4tb9L/YXovQD/ICtQNi39myk95F/a 5u/9WKVuYX7CcD4u819z8y7DsSEaB4S0o9LKogbdMsViKmMqmdJzr7HZWAPslI/X/P6TfLySI n6H6kJCFFCa5TgSjDBIL4KHTSkiuPqc39/isJXzv3zq8RGDyu+EMYrx6z6bYX1SHEs14CfJ+y dBYeOZJ/HR5/7dB69ZvJVU5xBJcCIPzX6Qj90ngaOyCHIiUggsUzQkA2Xm8lmTlFzxU0= X-Rspamd-Queue-Id: 6C50840006 X-Stat-Signature: 711ensog8i58zf6pfe6y3bgskioapegp Authentication-Results: imf04.hostedemail.com; dkim=none; dmarc=none; spf=none (imf04.hostedemail.com: domain of arnd@arndb.de has no SPF policy when checking 212.227.17.24) smtp.mailfrom=arnd@arndb.de X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1645644149-399033 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Feb 23, 2022 at 6:02 PM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 196d330d7fb1e7cc0d85641c89ce4602cb36f12e > commit: 27e8140d7819b7dce32967e4b5bba102b59196ee [6322/7526] uaccess: fix type mismatch warnings from access_ok() > config: riscv-randconfig-s032-20220223 (https://download.01.org/0day-ci/archive/20220224/202202240123.jVKXO4uv-lkp@intel.com/config) > compiler: riscv64-linux-gcc (GCC) 11.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # apt-get install sparse > # sparse version: v0.6.4-dirty > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=27e8140d7819b7dce32967e4b5bba102b59196ee > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 27e8140d7819b7dce32967e4b5bba102b59196ee > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > > sparse warnings: (new ones prefixed by >>) > >> arch/riscv/kernel/perf_callchain.c:19:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long [noderef] __user *user_frame_tail @@ got unsigned long * @@ > arch/riscv/kernel/perf_callchain.c:19:26: sparse: expected unsigned long [noderef] __user *user_frame_tail > arch/riscv/kernel/perf_callchain.c:19:26: sparse: got unsigned long * Fixed now, thanks for the report! Arnd