Re: [PATCH] stmmac: ipq806x: Return error values instead of pointers

2015-12-03 Thread David Miller
From: Stephen Boyd Date: Wed, 2 Dec 2015 23:55:15 -0800 > Typically we return error pointers when we want to use those > pointers in the non-error case, but this function is just > returning error pointers or NULL for success. Change the style to > plain int to follow normal kernel coding styles

[PATCH] stmmac: ipq806x: Return error values instead of pointers

2015-12-02 Thread Stephen Boyd
Typically we return error pointers when we want to use those pointers in the non-error case, but this function is just returning error pointers or NULL for success. Change the style to plain int to follow normal kernel coding styles. Cc: Joachim Eastwood Signed-off-by: Stephen Boyd --- .../net/