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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel