Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1777697rwd; Fri, 9 Jun 2023 01:53:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ48SMzxDllETWrqycRtHlwXqoiOLrb7R/OAV7CghJgGu16TF+dVHL0fQfVXBxOBqZUGIzn7 X-Received: by 2002:a9d:65c8:0:b0:6af:7f7c:d069 with SMTP id z8-20020a9d65c8000000b006af7f7cd069mr930992oth.18.1686300792182; Fri, 09 Jun 2023 01:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686300792; cv=none; d=google.com; s=arc-20160816; b=hlXuflEgfW+cWFdqBZ5bcuUD+6HsQOWjTpnk74RqSKFBjNeWBmzjyLjAl2qCA6dLVU h65FXQ1Vh7vXC8v9oxP4JamU0FY5ZbaSEE7IxXiugexry8AqXa/rth9mwRWjI/5n/mBV MH7kUB+Bn2fMQFStFrc8jEmkvbC1V7xfF8ct+50Ad9A+5KNg3ubCCpE/KQAgkNPDc4Y5 d2T5pKByd2c9jxTNNexa8JgisxPeggXgfzmiX6bmVospgMZrlupGEp3+E92hp/hOdfBh QuambnpUsm/hJpYABXRDiuIMh0iJEbW5oAzFPcqMr9x2qdM4WkGjsuVqnLhSDRX0mK1D Rq3Q== 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=qY78I0uIkP9M9ZByh8bW1iheA65xWGJtkYzS9jKIJcU=; b=BcLNSbfCy14s8HwvAuytBa13YmKfooiFRtB3nKHiUxnI36UU/qCHR2BOHhcqk91A15 KJfp4hcEuaQlaJ13BgUh10348v3VmSmFcW15i/doeTfFHydUrTlpR1mBokLOMXhP/t8H 9MVR2Hmh6tBBS7Lb4usF3/CadpDGiPksdaW3F+MyfktAna+Q8uwE27zropZRgD2Ex6o/ 3/aJhzw9awS4PgKHc1+s+1Hd3Lfs/U8CXgSNggL5N2Rn/WGGD6c2DJFWgSlENMlZQAcf 9/XYoUHbYiYhHxJEqZnA4rWexOc6zdJGvwiqgQnm4GcWjCx+khs3zIEkFOGkGFkyE3cY eCxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v16-20020a63d550000000b005348885119asi2241746pgi.523.2023.06.09.01.52.58; Fri, 09 Jun 2023 01:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240491AbjFII1P (ORCPT + 99 others); Fri, 9 Jun 2023 04:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241435AbjFIIZz (ORCPT ); Fri, 9 Jun 2023 04:25:55 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D6E6C3C27; Fri, 9 Jun 2023 01:24:55 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1q7XQE-0004Jv-01; Fri, 09 Jun 2023 10:24:38 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 47F93C02EE; Fri, 9 Jun 2023 10:19:55 +0200 (CEST) Date: Fri, 9 Jun 2023 10:19:55 +0200 From: Thomas Bogendoerfer To: Arnd Bergmann Cc: Arnd Bergmann , Mike Rapoport , Andrew Morton , "Matthew Wilcox (Oracle)" , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] mips: asm-offsets: add missing prototypes Message-ID: <20230609081955.GB8160@alpha.franken.de> References: <20230516194000.548487-1-arnd@kernel.org> <20230516194000.548487-2-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230516194000.548487-2-arnd@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 16, 2023 at 09:39:43PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > Building with -Werror and W=1 fails entirely because of warnings in > asm-offsets.c: > > arch/mips/kernel/asm-offsets.c:26:6: error: no previous prototype for 'output_ptreg_defines' [-Werror=missing-prototypes] > arch/mips/kernel/asm-offsets.c:78:6: error: no previous prototype for 'output_task_defines' [-Werror=missing-prototypes] > arch/mips/kernel/asm-offsets.c:92:6: error: no previous prototype for 'output_thread_info_defines' [-Werror=missing-prototypes] > arch/mips/kernel/asm-offsets.c:108:6: error: no previous prototype for 'output_thread_defines' [-Werror=missing-prototypes] > arch/mips/kernel/asm-offsets.c:136:6: error: no previous prototype for 'output_thread_fpu_defines' [-Werror=missing-prototypes] > > Nothing actually calls these functions, so just add prototypes to shut > up the warnings. > > Signed-off-by: Arnd Bergmann 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 ]