Re: [PATCH 7/20 V2] drivers/net/irda/mcs7780.c: fix error return code

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

[PATCH 7/20 V2] drivers/net/irda/mcs7780.c: fix error return code

2012-10-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The function mcs_probe() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to error2:. For this error case, the function abort its success execution path, but returns non negative value, maki