Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp707400pxp; Fri, 11 Mar 2022 12:55:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdXmPPzOu9tjaeOWZllt2uj1GDMjFQmB+VjP7F6BX7E8vTVrFdv1jjg/sJoOzQetDY08pv X-Received: by 2002:a63:f708:0:b0:380:8afb:a988 with SMTP id x8-20020a63f708000000b003808afba988mr9885876pgh.158.1647032151206; Fri, 11 Mar 2022 12:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647032151; cv=none; d=google.com; s=arc-20160816; b=LBdCxzTILkwg/LZN7v5GSKJAYjlUl7Qfsz3Ys7+KEYhxLJm9CL1k2s9BsT53HADl8W guej1cmWQenL8qnaCb/1tmF/T/BktgQk2wpvkZCCaQj+henYiLzzUZAVl1Mu4BgrmWit Bw4++Ofc7P7FgUcvuDGGlRQvEGaiFtHyjY5oeMhSLasS5x1E020f7QN0wjT+EUNAfSs5 tnp5I1OTuxgKs06zbfXUGu9V7EitwwuLJvD3Uj7d7wa+brp/EcD5Y9WJvINvOqpDfRJb 6w+tMnt1kcgzDD6s6KkDLXhkz7x5qHz1GXtCxdDKmOB+bKM1Lyl1ATpFcc9HRcO+dSP+ Nrwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=DbDQK/gtARoubez54v2aEAqXN9Ib4fdtpTu9sc+AoO4=; b=PAEyjCgLpZ+dSoUTguRpcl0YP0eBmt6Amb8e7wURxU8a3T6OYM/p/Ew3OhJVTfAa+i G+hVq8KhkrzhK9XYU6DS6os/sYyS+Dp+axjgswgoplCbJt01IB6OeyFFi29X7ahe1qOD HoFcYSah/Gyb3OXEMU0aJ2c8wGtL0pRMNmzwcqG+dj3MUbFcUV+F5kDz/X8VHoM4Hy59 kbe8Cjx1wu+LJe8P9++jllB4WTzays8MXHLwLdhHJ3fko6nrAYfD+vV948/+P5Yzoz00 CKkUDlPjwicQW27qKLvwebUKpbJCGcITqMpP5l/6uJx7HD9oKTvt0hWPLdgCHudKVZOY RPQQ== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s14-20020a17090302ce00b0014f87065940si8577946plk.565.2022.03.11.12.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 12:55:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0AC911F4857; Fri, 11 Mar 2022 12:46:36 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239906AbiCJGvS (ORCPT + 99 others); Thu, 10 Mar 2022 01:51:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbiCJGvR (ORCPT ); Thu, 10 Mar 2022 01:51:17 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7D6A411AA26; Wed, 9 Mar 2022 22:50:16 -0800 (PST) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9BxsM6lnyliK0MGAA--.27068S5; Thu, 10 Mar 2022 14:50:14 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer Cc: Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] MIPS: Fix wrong comments in asm/prom.h Date: Thu, 10 Mar 2022 14:50:12 +0800 Message-Id: <1646895012-3143-4-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1646895012-3143-1-git-send-email-yangtiezhu@loongson.cn> References: <1646895012-3143-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf9BxsM6lnyliK0MGAA--.27068S5 X-Coremail-Antispam: 1UD129KBjvdXoW7GFWrWr15Gry7CrW7Ww1kuFg_yoWfXrg_C3 W7J3y8GryrWrW3Z347Janaq34UW348XFZF9r1SqF4rA3Zaqr45GaykCr1fJr4UurWDAF4r uFZ5ta9IkFnF9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbSAFF20E14v26ryj6rWUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI8067AKxVWUWwA2048vs2IY02 0Ec7CjxVAFwI0_Gr0_Xr1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xv wVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVWxJVW8Jr1l84 ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AI xVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20x vE14v26r106r15McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xv r2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7MxkIecxEwVAFwVW8AwCF04k20x vY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I 3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIx AIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAI cVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2js IEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUYZXrUUUUU= X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 In arch/mips/include/asm/prom.h, it should use "!CONFIG_USE_OF" after #else and #endif. Signed-off-by: Tiezhu Yang --- arch/mips/include/asm/prom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h index c42e076..2d74406 100644 --- a/arch/mips/include/asm/prom.h +++ b/arch/mips/include/asm/prom.h @@ -20,9 +20,9 @@ struct boot_param_header; extern void __dt_setup_arch(void *bph); extern int __dt_register_buses(const char *bus0, const char *bus1); -#else /* CONFIG_OF */ +#else /* !CONFIG_USE_OF */ static inline void device_tree_init(void) { } -#endif /* CONFIG_OF */ +#endif /* !CONFIG_USE_OF */ extern char *mips_get_machine_name(void); extern void mips_set_machine_name(const char *name); -- 2.1.0