From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 781E5C4361B for ; Sun, 6 Dec 2020 10:50:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A22322D2C for ; Sun, 6 Dec 2020 10:50:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726309AbgLFKuA (ORCPT ); Sun, 6 Dec 2020 05:50:00 -0500 Received: from faui03.informatik.uni-erlangen.de ([131.188.30.103]:52948 "EHLO faui03.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgLFKuA (ORCPT ); Sun, 6 Dec 2020 05:50:00 -0500 X-Greylist: delayed 62343 seconds by postgrey-1.27 at vger.kernel.org; Sun, 06 Dec 2020 05:49:59 EST Received: from cip4d0.informatik.uni-erlangen.de (cip4d0.cip.cs.fau.de [IPv6:2001:638:a000:4160:131:188:60:59]) by faui03.informatik.uni-erlangen.de (Postfix) with ESMTP id CD27A240281; Sun, 6 Dec 2020 11:49:14 +0100 (CET) Received: by cip4d0.informatik.uni-erlangen.de (Postfix, from userid 68457) id BA09FD8041C; Sun, 6 Dec 2020 11:49:14 +0100 (CET) From: Stefan Eschenbacher To: Michael Kelley , Max Stolze , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu Cc: Stefan Eschenbacher , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel@i4.cs.fau.de Subject: [PATCH] drivers/hv: remove obsolete TODO and fix misleading typo in comment Date: Sun, 6 Dec 2020 11:48:50 +0100 Message-Id: <20201206104850.24843-1-stefan.eschenbacher@fau.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removes an obsolete TODO in the VMBus module and fixes a misleading typo in the comment for the macro MAX_NUM_CHANNELS, where two digits have been twisted. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze --- drivers/hv/hyperv_vmbus.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 02f3e8988836..9416e09ebd58 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -187,14 +187,13 @@ int hv_ringbuffer_read(struct vmbus_channel *channel, u64 *requestid, bool raw); /* - * The Maximum number of channels (16348) is determined by the size of the + * The Maximum number of channels (16384) is determined by the size of the * interrupt page, which is HV_HYP_PAGE_SIZE. 1/2 of HV_HYP_PAGE_SIZE is to * send endpoint interrupts, and the other is to receive endpoint interrupts. */ #define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3) /* The value here must be in multiple of 32 */ -/* TODO: Need to make this configurable */ #define MAX_NUM_CHANNELS_SUPPORTED 256 #define MAX_CHANNEL_RELIDS \ -- 2.20.1