Re: [PATCH 4/6] [NET]: Allow netdev REGISTER/CHANGENAME events to fail

2007-07-30 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Thu, 26 Jul 2007 17:09:36 +0800 > [NET]: Allow netdev REGISTER/CHANGENAME events to fail > > This patch adds code to allow errors to be passed up from event > handlers of NETDEV_REGISTER and NETDEV_CHANGENAME. It also adds > the notifier_from_errno/noti

[PATCH 4/6] [NET]: Allow netdev REGISTER/CHANGENAME events to fail

2007-07-26 Thread Herbert Xu
[NET]: Allow netdev REGISTER/CHANGENAME events to fail This patch adds code to allow errors to be passed up from event handlers of NETDEV_REGISTER and NETDEV_CHANGENAME. It also adds the notifier_from_errno/notifier_to_errnor helpers to pass the errno value up to the notifier caller. If an error