From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760409AbdAEJ7f (ORCPT ); Thu, 5 Jan 2017 04:59:35 -0500 Received: from cn.fujitsu.com ([59.151.112.132]:39145 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1756506AbdAEJ6M (ORCPT ); Thu, 5 Jan 2017 04:58:12 -0500 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="14501099" Subject: Re: [PATCH] x86/apic: Fix two typos in comments To: Ingo Molnar References: <1482732316-3908-1-git-send-email-douly.fnst@cn.fujitsu.com> <20170105081534.GE2098@gmail.com> CC: , , , , From: Dou Liyang Message-ID: <4fe31545-d509-7006-8cd5-7b369a9dfd4d@cn.fujitsu.com> Date: Thu, 5 Jan 2017 17:57:55 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20170105081534.GE2098@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: D50C543972DF.AAA4B X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Ingo At 01/05/2017 04:15 PM, Ingo Molnar wrote: > > * Dou Liyang wrote: > >> s/inr_logical_cpuidi/nr_logical_cpuids/ >> s/generic_processor_info()/__generic_processor_info()/ >> >> Signed-off-by: Dou Liyang >> --- >> arch/x86/kernel/apic/apic.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c >> index 5b7e43e..c32a3ad 100644 >> --- a/arch/x86/kernel/apic/apic.c >> +++ b/arch/x86/kernel/apic/apic.c >> @@ -2028,7 +2028,7 @@ void disconnect_bsp_APIC(int virt_wire_setup) >> /* >> * The number of allocated logical CPU IDs. Since logical CPU IDs are allocated >> * contiguously, it equals to current allocated max logical CPU ID plus 1. >> - * All allocated CPU ID should be in [0, nr_logical_cpuidi), so the maximum of >> + * All allocated CPU ID should be in [0, nr_logical_cpuids), so the maximum of > > There's another typo in that sentence as well, and the wording should be clarified > as well while at it. Something like this would work for me: > >> + * All allocated CPU IDs should be in the [0, nr_logical_cpuids) range, >> + * so the maximum of > Yes, It is. :) Thanks, Dou