Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp966834rdb; Tue, 30 Jan 2024 04:18:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmqO0Z7LGmz4pysk9Ww4caMOrU0MxhgYpZU7T0FJGAwf4QWOlOmTTYd9zwnnXcFKhfuSaU X-Received: by 2002:aa7:d60e:0:b0:55e:f8bd:6246 with SMTP id c14-20020aa7d60e000000b0055ef8bd6246mr3442240edr.18.1706617107742; Tue, 30 Jan 2024 04:18:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706617107; cv=pass; d=google.com; s=arc-20160816; b=gN7tTPWUgfKvfvYB7VA8+fQ5GzXG4RMEFPz40H7evEDbeiucvRS7kJNOobAqgE7GI/ fVhJ/VC4gBLmQtFvkl4Y9nIJRVnTYK6hBs53xxa0vLHG/aEqNWhcZDHNARW5e5GriFC8 mkKHgZkHLbSsrEdXTm/YwHzzlpcbQMWTWDjtcE7FADryYpgJZYd7Q/frjWdg+lMuxovi rDRVnGgyC0DrH1Kxz8JTTE4ctW8WF7cIO7ZpbLw3zvhgvl9BJgBF9D0vHcn4adtnutyk 4CRr9DXVywkc9ORLu6i7nc/eYgRWpIdm0qcJ/oegL2+QlVi8V5898Jrsihh38U+KSzLM 64qA== 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=JVZ040pnszTJYS9ZApPN/ubynpN7vUyGZw+eMhwthB8=; fh=W6DCTcNPqUe8lvyeB6tTUYi4+bdF/u36TZhmDmL3/88=; b=yDxTn4Yer424FMOtbVrt1vNSJApev7Uf00RvOw2a0XXwimmAn8s7AQEMnBUwuIqmkE HNWECHE7Y3T2gI9j5NfLOD9qT2CTDp1XgZSOJfHvWeOGO3bUH87KPcvE/gv3sqM/wfwO rJLL6OkGf8Id5Mw/9+/51h43qG1R07Ho3jQxGzXnbrRSTB5fd7yLnUjTCWahfi+NNgdT k0ZReAvhK2LA38F7hHQt4ykrjEs2HALpo5EyZEPAhWzdpWgSZ3YQFGHermmAejkiIyfp tL7mSu/5LHpcIR2uBaPnSXHj4WiKxaHbZVM1CyU/R0JUe2fB1Yns/vjpfT+8NhOU9zxf ot6Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=pqf8gJpx; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-44589-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44589-linux.lists.archive=gmail.com@vger.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 p26-20020a50cd9a000000b0055f382dba85si757601edi.480.2024.01.30.04.18.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:18:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44589-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=@ventanamicro.com header.s=google header.b=pqf8gJpx; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-44589-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44589-linux.lists.archive=gmail.com@vger.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 7DF5C1F26D44 for ; Tue, 30 Jan 2024 12:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAA4C6A00C; Tue, 30 Jan 2024 12:18:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="pqf8gJpx" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34DA766B37 for ; Tue, 30 Jan 2024 12:18:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617090; cv=none; b=AWV8xzPYqOpxQ6T/7BoDppbe1mBaXhCECDGGtzXEzKHKy+XNDpip2QZk4x2er2z2L0AZ4ALpSZRtvhi9E8cF9g0YusYHfKm2xoJml190JWFvB9iasBzynTqv/dpWFfoBSRx5QDSw1NNhdqlL5XRpRolU9VrZKh29LQtEePiMOYI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617090; c=relaxed/simple; bh=aap5r7ioaHBr3oZ1CL2DgTUN+lzMesYEoUhuwOS3e9o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fsZS5aJBamBsE/L5u009TP9IE4p3nZGfHBm1y62fhmmtPVtxqJVYTWA5h6xw3nPsWRQD/P/74TAOG6XOuvynBqxaJ9jSPz4ai4nQbc/yl3i2DEqEgKBzdr+vqiWHDS1gwpKxTtMCrSbYgNnCFOC1lmQZNh3AxpYchmDDlaBBfXY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=pqf8gJpx; arc=none smtp.client-ip=209.85.167.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-51028acdcf0so4761886e87.0 for ; Tue, 30 Jan 2024 04:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1706617086; x=1707221886; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JVZ040pnszTJYS9ZApPN/ubynpN7vUyGZw+eMhwthB8=; b=pqf8gJpxBhey654iwKbCow5Pf5c2ehDfd9kDaPDZsGMJis5z6yv9/By0uBJmQiydQ0 JzUP5Zc8v5oGKDrvvqYvZov9+RCo2TOXdU2GRotvjWJ5VSAuFR/nRU8HcgAhsI6LGlIz XKyfq1vv57j6Jx/ujCUEKcQq1lox6KFhe2mDcKKUjACjFFw1C5PCvcawxl4fuauYnYd9 2Rx7zDRG+vJh1EtRt3sr/DRKHL06c+pzt+VvybreS7ukz5mWrkTpyHj0p07ptcOsS7E9 Z9oLWIZQ9SOpc20v8/LkR5plKqkzONhJT8X2BHKQKlhpSemgzlKC9Sgsu8CPtB1mRDtN DJ2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706617086; x=1707221886; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JVZ040pnszTJYS9ZApPN/ubynpN7vUyGZw+eMhwthB8=; b=vU4uhvKND7FTVuXKROzEtnvfWqKsWIHMPEqNC5xTWhjApnIka+oSx5VdslHWqxVNMz AGsRVEoWO5GRYBBfjhhS6WOwjnNogw7DwCBvUL2CrixIOnDIWA4RMh2r+4jDmBF9oVpn 9O/HOdAvmNcfrx8TJQqcVJauo9C7wR+dnT7gUlPb1z6HT11dCIz9Dh3/XH28LojOM7/K H3RnBqx90C+uwDEE7JwShSljfs223WNLhxqoT3sREFN1UW2ST22hIHl7XePM6IVNM15j k8o2j3X6CqJaKJhRkHSAPLhCbtSwvTtCQ7osEV5d6TXh+2r7M3biAiP6utbGZVMfQdVq QlIA== X-Gm-Message-State: AOJu0YykvTZeyboaQHXHH1TAkTRcn6gjfy5WmnWcwYpGiwrSD4YSRjtH wJiVYJystu5cudQ4dEeg8zSTWFGypAKyBIKESCTFG7+XBltBIUGhp0twbjbENRg= X-Received: by 2002:a05:6512:2209:b0:510:24aa:ba7d with SMTP id h9-20020a056512220900b0051024aaba7dmr6919311lfu.38.1706617086169; Tue, 30 Jan 2024 04:18:06 -0800 (PST) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id a20-20020aa7d754000000b0055efeee7722sm2079010eds.79.2024.01.30.04.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:18:05 -0800 (PST) Date: Tue, 30 Jan 2024 13:18:04 +0100 From: Andrew Jones To: kernel test robot Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Anup Patel , Atish Patra Subject: Re: arch/riscv/kernel/paravirt.c:44:1: sparse: sparse: symbol '__pcpu_scope_steal_time' was not declared. Should it be static? Message-ID: <20240130-630542897176b3dbc536657a@orel> References: <202401301733.XLBqnyLY-lkp@intel.com> 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: <202401301733.XLBqnyLY-lkp@intel.com> On Tue, Jan 30, 2024 at 05:18:30PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 861c0981648f5b64c86fd028ee622096eb7af05a > commit: fdf68acccfc6af9497c34ee411d89af13b6516ed RISC-V: paravirt: Implement steal-time support > date: 4 weeks ago > config: riscv-randconfig-r133-20240130 (https://download.01.org/0day-ci/archive/20240130/202401301733.XLBqnyLY-lkp@intel.com/config) > compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 4a39d08908942b2d415db405844cbe4af73e75d4) > reproduce: (https://download.01.org/0day-ci/archive/20240130/202401301733.XLBqnyLY-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202401301733.XLBqnyLY-lkp@intel.com/ > > sparse warnings: (new ones prefixed by >>) > >> arch/riscv/kernel/paravirt.c:44:1: sparse: sparse: symbol '__pcpu_scope_steal_time' was not declared. Should it be static? > arch/riscv/kernel/paravirt.c:106:19: sparse: sparse: cast to restricted __le32 > arch/riscv/kernel/paravirt.c:107:30: sparse: sparse: restricted __le32 degrades to integer > arch/riscv/kernel/paravirt.c:102:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] sequence @@ got restricted __le32 @@ > arch/riscv/kernel/paravirt.c:102:26: sparse: expected unsigned int [usertype] sequence > arch/riscv/kernel/paravirt.c:102:26: sparse: got restricted __le32 > arch/riscv/kernel/paravirt.c:104:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] steal @@ got restricted __le64 @@ > arch/riscv/kernel/paravirt.c:104:23: sparse: expected unsigned long long [usertype] steal > arch/riscv/kernel/paravirt.c:104:23: sparse: got restricted __le64 > arch/riscv/kernel/paravirt.c:109:16: sparse: sparse: cast to restricted __le64 > > vim +/__pcpu_scope_steal_time +44 arch/riscv/kernel/paravirt.c > > 43 > > 44 DEFINE_PER_CPU(struct sbi_sta_struct, steal_time) __aligned(64); > 45 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki I wrote patches for these almost a month ago, but somehow forgot to post them... I'll retest and post now. Thanks, drew