Thread (12 messages) 12 messages, 4 authors, 2014-08-11

Re: [PATCH 3/5] drivers/atm/atmtcp.c: fix error return code

From: David Miller <davem@davemloft.net>
Date: 2014-08-07 23:05:16
Also in: kernel-janitors, lkml

From: Julia Lawall <redacted>
Date: Thu, 7 Aug 2014 15:31:05 +0200 (CEST)
From: Julia Lawall <redacted>

Convert a zero return value on error to a negative one, as returned
elsewhere in the function.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
 ...
Signed-off-by: Julia Lawall <redacted>

---
v2; changed error code to -EUNATCH
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help