From: Luca Ceresoli Date: Tue, 19 May 2015 09:35:26 +0000 (+0200) Subject: staging: rtl8188eu: return an error code, not a boolean X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~444 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc0406f4875a414e4243706f98967064a4fa962;p=pandora-kernel.git staging: rtl8188eu: return an error code, not a boolean "If the name of a function is an action or an imperative command, the function should return an error-code integer." (Documentation/CodingStyle) Several action-like functions in this driver return a boolean: _SUCCESS = 1 on success, _FAIL = 0 on error, defined in drivers/staging/rtl8188eu/include/osdep_service.h. Change rtw_start_drv_threads() to return a proper 0-or-error value. Signed-off-by: Luca Ceresoli Cc: Greg Kroah-Hartman Cc: Larry Finger Cc: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed