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

sunil.m at techveda.org sunil.m at techveda.org
Thu Mar 9 18:50:43 UTC 2017


From: Suniel Mahesh <sunil.m at techveda.org>

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



More information about the devel mailing list