]> git.baikalelectronics.ru Git - kernel.git/commit
[IRDA] irda_nl_get_mode: always results in failure
authorAndy Whitcroft <apw@shadowen.org>
Wed, 22 Aug 2007 04:23:39 +0000 (21:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Aug 2007 04:23:39 +0000 (21:23 -0700)
commit1502ea1ddd9cb74863e33245aa2662ba15199b15
treeb25aa62a488fc8751a9161d994726dfe28d9b7f6
parent07f0c686af64dbcd39c1066b6e0ce1f93f615e19
[IRDA] irda_nl_get_mode: always results in failure

It seems an extraneous trailing ';' has slipped in to the error handling for a
name registration failure causing the error path to trigger unconditionally.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irnetlink.c