Drivers: hv: vmbus: Drop error message when 'No request id available'
authorAndrea Parri (Microsoft) <parri.andrea@gmail.com>
Mon, 1 Mar 2021 19:13:48 +0000 (20:13 +0100)
committerWei Liu <wei.liu@kernel.org>
Mon, 22 Mar 2021 10:53:48 +0000 (10:53 +0000)
commit0c85c54bf7faeb80c6b76901ed77d93acef0207d
tree458249fd8d9b676c3807efde830f41563622216a
parenta620bbaa3510a6f14f6643bf232390ad1c821c80
Drivers: hv: vmbus: Drop error message when 'No request id available'

Running out of request IDs on a channel essentially produces the same
effect as running out of space in the ring buffer, in that -EAGAIN is
returned.  The error message in hv_ringbuffer_write() should either be
dropped (since we don't output a message when the ring buffer is full)
or be made conditional/debug-only.

Suggested-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Fixes: e8b7db38449ac ("Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening")
Link: https://lore.kernel.org/r/20210301191348.196485-1-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/ring_buffer.c