Re: [PATCH 2/5] um: port: Delete three error messages for a failed memory allocation

2017-01-19 Thread SF Markus Elfring
>> +++ b/arch/um/drivers/port_kern.c >> @@ -87,11 +87,8 @@ static int port_accept(struct port_list *port) >> } >> >> conn = kmalloc(sizeof(*conn), GFP_ATOMIC); >> -if (conn == NULL) { >> -printk(KERN_ERR "port_accept : failed to allocate " >> - "connect

Re: [PATCH 2/5] um: port: Delete three error messages for a failed memory allocation

2017-01-18 Thread Jeff Dike
> --- a/arch/um/drivers/port_kern.c > +++ b/arch/um/drivers/port_kern.c > @@ -87,11 +87,8 @@ static int port_accept(struct port_list *port) > } > > conn = kmalloc(sizeof(*conn), GFP_ATOMIC); > - if (conn == NULL) { > - printk(KERN_ERR "port_accept : failed to allocate

[PATCH 2/5] um: port: Delete three error messages for a failed memory allocation

2017-01-18 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 18 Jan 2017 22:00:14 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: Possible unnecessary 'out of memory' message Thus fix the affected source code places. Signed-off-by: Markus Elfring --- arch/um/drivers/port_kern.c | 13