summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2015-05-19 11:35:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 12:01:37 +0900
commit7fc0406f4875a414e4243706f98967064a4fa962 (patch)
tree1a7e99d23fdeba75abaacb387907eb2cb29c5299 /block
parent8b9ffb43ac1deabc80c2622a293a12d5f1a8d0ac (diff)
downloadop-kernel-dev-7fc0406f4875a414e4243706f98967064a4fa962.zip
op-kernel-dev-7fc0406f4875a414e4243706f98967064a4fa962.tar.gz
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 <luca@lucaceresoli.net> Cc: Greg Kroah-Hartman <gregkh@linux.com> Cc: Larry Finger <Larry.Finger@lwfinger.net> Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud