From: Julius Volz Date: Tue, 8 Jul 2008 10:07:43 +0000 (-0700) Subject: irda: Fix netlink error path return value X-Git-Tag: v2.6.26~25^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07035fc1bbf931a06e47583cddd2cea2907ac0db;p=pandora-kernel.git irda: Fix netlink error path return value Fix an incorrect return value check of genlmsg_put() in irda_nl_get_mode(). genlmsg_put() does not use ERR_PTR() to encode return values, it just returns NULL on error. Signed-off-by: Julius Volz Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller --- Reading git-diff-tree failed