Re: vmbus: Delete an error message for a failed memory allocation in vmbus_device_create()

From: Stephen Hemminger
Date: Thu May 11 2017 - 12:42:40 EST


On Thu, 11 May 2017 18:36:44 +0200
SF Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:

> > Taking out the message assumes that all callers of this function either log an
> > error or pass appropriate error code back to userspace.
>
> Do you like the default error response by Linux memory allocation functions?

The default error message only helps a little.
I doubt this will ever fail anyway since only allocated on boot.