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

From: David Miller
Date: Thu Dec 03 2015 - 15:27:23 EST


From: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
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.
>
> Cc: Joachim Eastwood <manabian@xxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/