Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1651921pxu; Sun, 6 Dec 2020 02:53:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxt+GatsI5XGZ4yAz3ksje8VexStNZBTVl+veByOcTm5SY3Mq3ftQsfQwhQ3QaYEPwEEl0s X-Received: by 2002:a17:906:1c8e:: with SMTP id g14mr14757780ejh.5.1607252026511; Sun, 06 Dec 2020 02:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607252026; cv=none; d=google.com; s=arc-20160816; b=Y5lB7E+HfZbYOot9WdP/OIllFykn0QEiCUInipDZqNJiaf8SSEqPC3uLQ9HyCSgupQ jVO/9oJlUOiw7HnE+DOucBW9E42ojy7orsect8+znlZYl8iWOI0quWcAJblBP/JCbD2u waG2WX+7g9/UDs7QJzY+tG2Cn0dd8eqsnIoIDCa7RErcBzSsPCXwiweEtvade1+3miMH AMoEkirqG/O8SlBvBQqwN8wFC1LQBDuGlTx7fd+MJ/IKfnpT+hGQOOgOmniOy8wWBW8I 3ONUBsDz6/RcWofr7DTf7MQZFD1Z3zQUSxRA7PH78CFJeKY6F2S7cP6moUd7V/cR/1zP lK2g== 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; bh=nZHTXcUFpVrfjtTDcEIL/VPUkwt+NyoaWl+cyODq/ps=; b=hrhIx1zeQVmUXkOoOsTz23lCV55BVUH41N1UtVw32EKXpAUrWnFqRLYUdlgl2awjzA b4Px4YOX8J4uWS/ihUgZSWWN3OdeiaVi5GJ+OtoLmG6TR8k/rfp6hep1O8nHaQ/lB6CZ gdkZxjHC//fd2T4d2pn51sHCWW+IMcKr1PDTp326lJjzrKYda0SDRtAjZ+m0HvQKozUm 6IYFuZzMDk9yTXgwDc9KWozJ2m+1aq1HgETN4Vfxuu4GdZ/OKDYnIrwQAkx4XNRN6O5y 4E3GY2+5sGE0SP90yvBHPJmGGqhEVJbzhUM8hpMji02b1809/NwFAiS82WP0oX2XDxb5 TihQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o60si6354568eda.61.2020.12.06.02.53.22; Sun, 06 Dec 2020 02:53:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726076AbgLFKuA (ORCPT + 99 others); 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