[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31b03449-4ef8-538d-a021-cb3e5bbc2a21@users.sourceforge.net>
Date: Mon, 8 Jan 2018 19:19:23 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Haiyang Zhang <haiyangz@...rosoft.com>,
"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
netdev@...r.kernel.org
Cc: KY Srinivasan <kys@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: hyperv/netvsc: Delete two error messages for a failed memory
allocation in netvsc_init_buf()
> 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
Powered by blists - more mailing lists