From: Li Zefan Date: Fri, 4 Jan 2008 09:52:02 +0000 (-0800) Subject: [CONNECTOR]: Return proper error code in cn_call_callback() X-Git-Tag: v2.6.24-rc7~6^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=134d99e302618eeb102c2a5be1f9e98696288bdd;p=pandora-kernel.git [CONNECTOR]: Return proper error code in cn_call_callback() Error code should be set to EINVAL instead of ENODEV if !queue_work(). There's another call of queue_work() which may set err to EINVAL. Signed-off-by: Li Zefan Signed-off-by: David S. Miller --- Reading git-diff-tree failed