# Re: \[PATCH 3/5\] drivers/net/ethernet/freescale/fs\_enet: fix error return code

- From: David Miller \<davem@davemloft.net\>
- Date: 2012-08-15 00:01:12 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/08/3908435
- Thread: https://ratatoskr.run/kernel-janitors/2012/08/3908050/t.md

```text
From: Julia Lawall <redacted>
Date: Tue, 14 Aug 2012 14:58:33 +0200

> From: Julia Lawall <redacted>
> 
> Convert a 0 error return code 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>

Applied.
```
