RE: [PATCH 3/5] Drivers: hv: avoid passing opaque pointer to vmbus_onmessage()

From: Michael Kelley
Date: Thu Apr 02 2020 - 21:55:34 EST


From: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> Sent: Wednesday, April 1, 2020 3:37 AM
>
> vmbus_onmessage() doesn't need the header of the message, it only
> uses it to get to the payload, we can pass the pointer to the
> payload directly.
>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
> ---
> drivers/hv/channel_mgmt.c | 7 +------
> drivers/hv/vmbus_drv.c | 3 ++-
> include/linux/hyperv.h | 2 +-
> 3 files changed, 4 insertions(+), 8 deletions(-)
>

Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>