Tag: b5497eeb37d7d4a5a61b91f64efedc90d1ad6fa3

net: Use PTR_RET rather than if(IS_ERR(.. [1]

Author: Thomas Meyer <thomas@m3y3r.de> The semantic patch that makes this change is available in scripts/coccinelle/api/ptr_ret.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer Signed-off-by: David S. Miller — drivers/net/appletalk/cops.c | 4 +— drivers/net/appletalk/ltpc.c | 4 +— 2 files changed, 2 insertions(+), 6 deletions(-)   diff –git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c index 545c09e..cff6f02 100644 …

Lire la suite