From: Akinobu Mita Date: Tue, 21 Jun 2011 03:35:56 +0000 (+0000) Subject: powerpc/pseries: Improve error code on reconfiguration notifier failure X-Git-Tag: v3.1-rc1~236^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2780a3d82372a6bfc7f474905e346c0f26dfa4;p=pandora-kernel.git powerpc/pseries: Improve error code on reconfiguration notifier failure Reconfiguration notifier call for device node may fail by several reasons, but it always assumes kmalloc failures. This enables reconfiguration notifier call chain to get the actual error code rather than -ENOMEM by converting all reconfiguration notifier calls to return encapsulate error code with notifier_from_errno(). Signed-off-by: Akinobu Mita Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed