Skip to content

Commit 5c641fe

Browse files
Stefan Eschenbacherliuw
authored andcommitted
drivers/hv: remove obsolete TODO and fix misleading typo in comment
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 <[email protected]> Co-developed-by: Max Stolze <[email protected]> Signed-off-by: Max Stolze <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent b0c03ef commit 5c641fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/hv/hyperv_vmbus.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,13 @@ int hv_ringbuffer_read(struct vmbus_channel *channel,
187187
u64 *requestid, bool raw);
188188

189189
/*
190-
* The Maximum number of channels (16348) is determined by the size of the
190+
* The Maximum number of channels (16384) is determined by the size of the
191191
* interrupt page, which is HV_HYP_PAGE_SIZE. 1/2 of HV_HYP_PAGE_SIZE is to
192192
* send endpoint interrupts, and the other is to receive endpoint interrupts.
193193
*/
194194
#define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3)
195195

196196
/* The value here must be in multiple of 32 */
197-
/* TODO: Need to make this configurable */
198197
#define MAX_NUM_CHANNELS_SUPPORTED 256
199198

200199
#define MAX_CHANNEL_RELIDS \

0 commit comments

Comments
 (0)