[PATCH v2 0/5] staging: rtl8192e: Fix coding style, warnings and checks

From: sunil . m
Date: Thu Mar 09 2017 - 13:52:38 EST


From: Suniel Mahesh <sunil.m@xxxxxxxxxxxx>

Fixed coding style issues and improved error handling, return -ENOMEM, if
it is out of memory instead of err message. Pointer comparisions with NUll
are replaced by logical NOT. Fixed unbalanced braces around else statement
and preferred to pass a pointer as an argument to sizeof() instead of
struct definition.

Rebased on top of next-20170306.

Suniel Mahesh (5):
staging: rtl8192e: Fix coding style issues
staging: rtl8192e: Improve error handling
staging: rtl8192e: Rectify pointer comparisions
staging: rtl8192e: Fix unbalanced braces around else statement
staging: rtl8192e: Pass a pointer as an argument to sizeof() instead
of struct

drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 274 +++++++++++----------------
1 file changed, 112 insertions(+), 162 deletions(-)

--
1.9.1