Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3332859pxj; Tue, 1 Jun 2021 02:53:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqUQ25NsFRW9myFjSPDAr/Hx+4+0DDX3D4nFF8eEiOFXTzw0+pTKlFUSrwDAOdEgJSe2Tg X-Received: by 2002:a17:907:2bd6:: with SMTP id gv22mr11341146ejc.431.1622541227988; Tue, 01 Jun 2021 02:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622541227; cv=none; d=google.com; s=arc-20160816; b=ILEBuZb6KgFPAfc2j+uE5XzBqGj6lYqeBGM3BBxHMqQpCnslbONuRvcIA5jJOyc4S4 3BJhnNZ5DDOTHGkf6UAQtTeuJV+FsEt3It08wTJ+EGHX+U+y5kxHhL6tF7LI2dgvLe0c iPZwvHxkkqUAf4IaIlgftFbzz9CsVKKP2U4DEJGNQFXL55j1Cl+9i3rUSoGIydsuYYZr XL6xCNKLiaoeD15SLEA0lXFY+CuGH56ewOx4F5C+qAvGnHailGeqqiI8kSBZ+pQbTUhI GYWfdHOl6wVxD56hUZIn9IfycFJ99ZFb0qYMUbczOkFDE5pH9THKBRKUsxcaFfmK1+Qr 4j0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=DFCaNNQYdRalfi2KPp2uqh80BYxxCAG2QVGrZcbsn7Q=; b=quI2dU7oB38+Epuu0JpY1T/SsebOs+vyLD/5WVu+fgFqEVjsE4MLRf0HtwodD27r9U BbAvEyXf+Aa2YTFrfqpAa+kGUNppETQZptkaYz58ykB00NSH2Gl1kro7KifNCoyU0Rpt vSBErk/8V+lLD2gK7/E0Ch//tYmDgNVrgjISCdNe18MWs8f25NM8McFWMzyRmv8+Si4G sPSdW9HzhKkE9S1+pTwb7h0qOEvnu+/EC6UkitFwPwqIlrJhPBlnUKMA1MMkMww+Z7b5 KEmsJaTzbSc1p5GT/i2f7ylvWrMm6sKPXbTnOQtDvdzOyf/S0FF0WvuqvGufGg7MUiHs ykCw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si3677800ejj.130.2021.06.01.02.53.20; Tue, 01 Jun 2021 02:53:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230262AbhFAJxv (ORCPT + 99 others); Tue, 1 Jun 2021 05:53:51 -0400 Received: from elvis.franken.de ([193.175.24.41]:59984 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230178AbhFAJxh (ORCPT ); Tue, 1 Jun 2021 05:53:37 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lo13y-0001KW-00; Tue, 01 Jun 2021 11:51:54 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 14D7EC1B8B; Tue, 1 Jun 2021 11:29:50 +0200 (CEST) Date: Tue, 1 Jun 2021 11:29:50 +0200 From: Thomas Bogendoerfer To: Ruiqi Gong Cc: Wang Weiyang , linux-mips@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] MIPS: pm-cps: Make '__pcpu_scope_cps_cpu_state' static Message-ID: <20210601092949.GA6961@alpha.franken.de> References: <20210528070437.5780-1-gongruiqi1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210528070437.5780-1-gongruiqi1@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 28, 2021 at 03:04:37PM +0800, Ruiqi Gong wrote: > Mark the per-CPU definition of cps_cpu_state as static to fix the following > sparse tool complain: > > arch/mips/kernel/pm-cps.c:66:1: warning: > symbol '__pcpu_scope_cps_cpu_state' was not declared. Should it be static? did you compile/link a kernel with this patch ? I doubt that since there is a refernec to this symbol in arch/mips/kernel/cps-vec.S. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]