From: H Hartley Sweeten Date: Tue, 12 Jun 2012 18:59:33 +0000 (-0700) Subject: staging: comedi: propogate error code from comedi_alloc_subdevices X-Git-Tag: v3.6-rc1~100^2~820 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b6c56949ffa83dbc2a6e8fa3f98b10a19372207;p=pandora-kernel.git staging: comedi: propogate error code from comedi_alloc_subdevices comedi_alloc_subdevices can fail with -EINVAL or -ENOMEM. When it does fail make sure to pass the proper error code back. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed