Re: hyperv/netvsc: Delete two error messages for a failed memory allocation in netvsc_init_buf()

From: SF Markus Elfring
Date: Mon Jan 08 2018 - 13:19:40 EST


> These messages are not displayed anywhere else:
> "unable to allocate receive buffer of size %u\n"
> "unable to allocate send buffer of size %u\n",
>
> After set ret = -ENOMEM; and cleanup, we won't know which buffer allocation failed without the error message.

Do you notice a Linux allocation failure report before them in your system?


> So please do not remove these messages.

How much does the distinction matter for these buffers?

Regards,
Markus