From: H Hartley Sweeten Date: Wed, 4 Mar 2015 19:15:33 +0000 (-0700) Subject: staging: comedi: mite: (!foo) preferred over (foo == NULL) X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~597 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5effdf708100fd5eeeaa8c7bbbed3b90cbb70cf5;p=pandora-kernel.git staging: comedi: mite: (!foo) preferred over (foo == NULL) Also, clarify the 'ring' allocation failure by returning NULL instead of 'ring' (which would be NULL). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed