Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2440660ybk; Sun, 17 May 2020 22:04:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeVPcsaG8PbU4fTAM2guvhLBEYPT13+25atx5Pt/oo7K+j/AKNvlzYQ90EEowkHWt3NP7J X-Received: by 2002:a17:906:82d9:: with SMTP id a25mr13928937ejy.43.1589778295791; Sun, 17 May 2020 22:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589778295; cv=none; d=google.com; s=arc-20160816; b=CPk1y1XCiIVovXXg7zf++YYxjfrqFbweEKxSmfaMJlWTLcq0Tnrf5iZau06fexmY81 bwucLJe0RqENqwrH7jKw8BqqrrYL3vk5VewkfB4I8QODlfu+J2zg8Mzx6c6XR51JDLyg 6kQ+6MAooXuoxF3yXrQ85ZXfNOh6HJUTvbQI1UeY6FB2ZKpgeOitcsFX68+/4obW2ybt X8OPKo6/7bUX58gLDQHVZTiQ73oSDUZYvm5slQ9O6pHcvNsyXCqSk0n3hneeVMWMS1By 2nxnPqGsdm3dbB3zAhKpeUGwtwKtlliUw1Ragtvr/2eeA27dH8nMP9UhW4livBZJ7Ckd 039A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=6Y4ryC4bkklrDYtupfwjwDn8ayg4eVkPaU8xXBEO+4I=; b=fDqdgFv8jted+KZymPDpcuTlgKtHjK+KADIxatEnCFUDu5CTvjdJjSLpDrnnUYeRJb uZgvM3WTzYIHjM/xRdUY3Azk7XPTbFS04UJ3oZCRp+ek74Qcr2fdmv+clmcYr1JID9eg Pe1z5fLvDtqiscR3/M9+BtQJZ7Z/OnlTbc13S0TIMaknpJQEZWX8Yn0nBRFRbEi1ck59 UOPfDYqlD7kr2+iK6T6qty2VsCMZ+F3VjjhwkKIBtmZ7tb+LMZYQ3F5F73bYI+jkKBQF hlV5F9pPtgt8ZGg2LmbmfF/aypxMNTaPQ4fVnJj0akDcaNU2zJpj2QL327E8xlHgR4yd tOeQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si5633257edj.582.2020.05.17.22.04.32; Sun, 17 May 2020 22:04:55 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726502AbgERFDB (ORCPT + 99 others); Mon, 18 May 2020 01:03:01 -0400 Received: from mga01.intel.com ([192.55.52.88]:22856 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726443AbgERFDA (ORCPT ); Mon, 18 May 2020 01:03:00 -0400 IronPort-SDR: yAcv2VPO/QeyCwL16YL2qPVPKEXcCM7f9gBIyv9hdKlmmBc3apdnTqoou3tOJN9Db4dbeI7flt hEdoWROkT1zg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2020 22:03:00 -0700 IronPort-SDR: QslUiUcqLdBNlYU9VpaP6qJsIOxWbbMWBz/jCxrvOjLTwl3v/Q7YVbFfvxW9b76EmxBa915xnE Qh+PQG5N0mDg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,406,1583222400"; d="scan'208";a="299659598" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 17 May 2020 22:02:59 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1jaXvW-000D9C-KZ; Mon, 18 May 2020 13:02:58 +0800 Date: Mon, 18 May 2020 13:02:27 +0800 From: kbuild test robot To: Palmer Dabbelt Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH linus] RISC-V: gp_in_global can be static Message-ID: <20200518050227.GA13086@f1dbffaf4744> References: <202005181328.2fITyRLh%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202005181328.2fITyRLh%lkp@intel.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: 52e7c52d2ded ("RISC-V: Stop relying on GCC's register allocator's hueristics") Signed-off-by: kbuild test robot --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/kernel/process.c b/arch/riscv/kernel/process.c index 610c11e916068..3b2933839d492 100644 --- a/arch/riscv/kernel/process.c +++ b/arch/riscv/kernel/process.c @@ -22,7 +22,7 @@ #include #include -unsigned long gp_in_global __asm__("gp"); +static unsigned long gp_in_global __asm__("gp"); extern asmlinkage void ret_from_fork(void); extern asmlinkage void ret_from_kernel_thread(void);