Re: [PATCH 0/5] UM: Fine-tuning for some function implementations

2017-01-19 Thread Jeff Dike
The kmalloc(sizeof(struct foo), ...) => kmalloc(sizeof(*foo), ...) ones are OK. The rest is cargo-cult programming. Jeff -- Jeff Dike AddToIt 978-254-0789 (o) 978-394-8986 (c)

Re: [PATCH 0/5] UM: Fine-tuning for some function implementations

2017-01-19 Thread Richard Weinberger
Markus, Am 18.01.2017 um 22:55 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Wed, 18 Jan 2017 22:48:02 +0100 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (5): > port: Move an assignment for the variable "fd" in port_wa

[PATCH 0/5] UM: Fine-tuning for some function implementations

2017-01-18 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 18 Jan 2017 22:48:02 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): port: Move an assignment for the variable "fd" in port_wait() port: Delete three error messages for a failed memory allocation p