Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2651558rdb; Mon, 4 Dec 2023 03:59:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFWEE53xkNnAQoeyV474S0baUhS5xHuMGTF3w3TOE1sH6uYEZH3HWECDzK+/ZGuqV3hdRw X-Received: by 2002:a62:5b45:0:b0:6ce:3569:79e7 with SMTP id p66-20020a625b45000000b006ce356979e7mr695636pfb.21.1701691150398; Mon, 04 Dec 2023 03:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701691150; cv=none; d=google.com; s=arc-20160816; b=Dh0aN+6M8GiF+84QaOMkjo+DdKQBJ9haUHK53d2csGzkYU2dIrAJxHCwWPc+yHWuhq D43kiettSdAELjo+9r2pIeBfe1DPTd/1JhHARAAS4935WoV8HhJQJYU2RTcLwvaqTcAq lgOZhRyOw49mT0TaGbx9PJmdU+ZvrO8HNALmC69RGF2htVw1Y1Md33CGuYJwsgQ5mBiL KYnriwosmdYZ+UiF8G9COH2ULkXhHd9CVoIBNjU415DrONMaudMUkT6ffp0MRlwG6gLJ M9xXVYP2k48bcA6rLy2cxC+N3trOh68WqYjDv4VudaGMUcwd8sa70kzdt8t1tlF6KNKY VugA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IU34Gzkmk9PKyOWk9WWWJk8+GolJKo7mXlIUospSAaE=; fh=ZaUu8Qu87y0sWtsc/L1xWJKMgHMvIjP9DS2ujBqzc8w=; b=H0tGOrtcKrcHa5tbObTPtNZ0F41vxhxEsakBmgdxGV1VjBPl469nzzwPobDdlFSthb YAzzDISIVQC8OsbnI5dtUanFZ7+0Fgo/HpFa7izmW+l/KYoL0gIg42kkKcryjQHocQS5 4z6Z/tvxo/+xMnzvFIDtirwiPf5GXXCAuPPr97JJB17uh9mNvfiXl14HSv0IUxKAvvlz qi+HhSmM5zXmUWTUcHYwkcPo38FuIxw/Qn9gRgk/6U6bCK8qmK+ZJyQt4oT2REREsYvc 5cws3/rlsjpQipph4VdwEjVryDMYgMWf7L1lFJ8COKJvG8m3drvjlEY+2XoAov689E5j W2IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WIT8BTac; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u10-20020a6540ca000000b005c278210f82si7815886pgp.544.2023.12.04.03.59.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 03:59:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WIT8BTac; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C9EA4809B73E; Mon, 4 Dec 2023 03:59:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235391AbjLDL6k (ORCPT + 99 others); Mon, 4 Dec 2023 06:58:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235387AbjLDL6A (ORCPT ); Mon, 4 Dec 2023 06:58:00 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 890401988 for ; Mon, 4 Dec 2023 03:57:37 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92487C433CD; Mon, 4 Dec 2023 11:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701691057; bh=4ABSoMNpXusCcWYdVc/Z/1r0KMCswnYJODyq0pzAGhg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WIT8BTacH9XtFOb5K998EObxet0tpmzMtldqSatFkYdP4SGnNqZBjAFqqU1HrcA5M NlhZr6RXfYTWdTC+oSNYp67XxNgFeeVIlCBBw6PvI5hvaj68vJfCwIzjS1cz4PB7Q1 u3Es51WnXfwdvHS9HTJtmvbq4vWabWEZnA7B/9h8KbRFZrUZ2cUE3qcgXCJ0/s9XpV DZkOcbSVcBAWeOoM0Ry93dLlc85Dalpjj/S9cfJ1/YQA0KuAZ036Ho834gh9QDPft/ 9K+wjJguaXKveLxXDp8jFFPCWZS6DpfthsMRwn8HuUm5N7zCmwr9ZJSbhJmWs+0c+k L55zu4Gx39PdA== From: Arnd Bergmann To: linux-mips@vger.kernel.org Cc: Arnd Bergmann , "Andrew Morton" , "Stephen Rothwell" , "Linux Kernel Mailing List" , "Thomas Bogendoerfer" Subject: [PATCH 09/20] mips: unhide uasm_in_compat_space_p() declaration Date: Mon, 4 Dec 2023 12:56:59 +0100 Message-Id: <20231204115710.2247097-10-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231204115710.2247097-1-arnd@kernel.org> References: <20231204115710.2247097-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 03:59:07 -0800 (PST) From: Arnd Bergmann uasm_in_compat_space_p() has a conditional declaration but is defined unconditionally because of another local user, which causes a warning: arch/mips/mm/uasm.c:421:5: error: no previous prototype for 'uasm_in_compat_space_p' [-Werror=missing-prototypes] Make the declaration unconditional to avoid this. Signed-off-by: Arnd Bergmann --- arch/mips/include/asm/uasm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h index 296bcf31abb5..b43bfd445252 100644 --- a/arch/mips/include/asm/uasm.h +++ b/arch/mips/include/asm/uasm.h @@ -193,9 +193,7 @@ struct uasm_label { void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid); -#ifdef CONFIG_64BIT int uasm_in_compat_space_p(long addr); -#endif int uasm_rel_hi(long val); int uasm_rel_lo(long val); void UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr); -- 2.39.2