Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2343050pxk; Sun, 27 Sep 2020 04:14:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJnCE0bwqIHxylmmLIGnVzHXP5OlYnlId6u4ntCbFU1z0mBzZfpQcfT4p/NeCwIHkX+XIv X-Received: by 2002:a17:906:8695:: with SMTP id g21mr10551269ejx.504.1601205290879; Sun, 27 Sep 2020 04:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601205290; cv=none; d=google.com; s=arc-20160816; b=LV/SGW7nSI04i2Lzh0SuVH9yiwVJ1xIHmLX+M44+1TXFuh3LuFQJJiiSKYkZwMzcop 7KlmM0mJpgYIqLNx/gkMIJZ7dbD+MpL7kvUpHXAANnjO34ioz0rOAMzz8cgryGqsGRcz xTi5cq1s+s1RX2lbwyzTscYPHTWMnl7ElXKEqbSBNL6ue4y2XERu0OSfJItUXAvDyJMx u6hSqBugEVuvIFgGpSGzMDKLOffO3Ig6q28zY89/E/bDJg/rao5jNOmg3uXwNA1i63Ck BRqU3UHg2mviTegufHViPI4xV5nzAdDth9XuKomNvJbA2agjSU1lMiEDqD4IEXZOI0vC UYwQ== 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=/R0VCAmC1by3P3qB36ZSJcd3ZfRQDwdIk2lUqRhHVTk=; b=DYMijuPEFrUE19xjNP+D7jnmJ5BgbtlnuXSTcTfsWJceanBT/JxNAPZ7aAWZWPC7sc M3k8h3G+X/BWn/+E0lcXsiKR+CQINEL+tSurAe4hGME2ALTXKACyqCuR7OCWpzJCYUHJ 3r7XWtycCOpeyQufNHhZugsUlTStA3ReB2xFeyoF3Xt1yF62hXGyYaR67eT1Do4iY8Sw HXqRZ/1BbnNw5MGqxAc7gIQe3A9G1P/g4S1xf/Tqg1d5IYZEffC7jwIvLofBDJYzF+LE ZRAQAcT2hcP9/5+OZu94BbVuBqjvQk0UULgN985yuwuQu5UXE8/QdmvMt4rTf87Qp47f ENoQ== 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 b2si3505993edf.162.2020.09.27.04.14.11; Sun, 27 Sep 2020 04:14:50 -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 S1726303AbgI0LLm (ORCPT + 99 others); Sun, 27 Sep 2020 07:11:42 -0400 Received: from elvis.franken.de ([193.175.24.41]:60021 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbgI0LLm (ORCPT ); Sun, 27 Sep 2020 07:11:42 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1kMUaj-0002VG-00; Sun, 27 Sep 2020 13:11:41 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 24720C1023; Sun, 27 Sep 2020 13:11:29 +0200 (CEST) Date: Sun, 27 Sep 2020 13:11:29 +0200 From: Thomas Bogendoerfer To: Pujin Shi Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] MIPS: idle: Add prototype for function check_wait Message-ID: <20200927111129.GA6217@alpha.franken.de> References: <20200927092205.1252-1-shipujin.t@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200927092205.1252-1-shipujin.t@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 27, 2020 at 05:22:05PM +0800, Pujin Shi wrote: > This commit adds a prototype to fix warning at W=1: > > arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait' [-Werror=missing-prototypes] > > Signed-off-by: Pujin Shi > --- > arch/mips/include/asm/idle.h | 2 ++ > 1 file changed, 2 insertions(+) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]