From: H Hartley Sweeten Date: Mon, 13 Oct 2014 16:56:08 +0000 (-0700) Subject: staging: comedi: comedidev.h: clarify async->event error/cancel detection X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~863 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=781f933c151ee47e3cc1c8ef5491db23f1b61c9a;p=pandora-kernel.git staging: comedi: comedidev.h: clarify async->event error/cancel detection Introduce COMEDI_CB_ERROR_MASK and COMEDI_CB_CANCEL_MASK to clarify the async->events that indicate errors and cancel an async command. Use the new defines to tidy up and clarify the code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed