[PATCH 0/3] Staging rtl8192e: Fixing several checkpatch errors and warnings

2014-01-05 Thread Andreas Frembs
In rtllib_crypt_tkip.c we fixed the checkpatch error: space required after that ','. In rtllib_debug.h we fixed the checkpatch error: Macros with complex values should be enclosed in parenthesis. We also fixed in rtllib_debug.h the warning, do {} while (0) macros should not be semicolon termina

[PATCH 3/3] Staging rtl8192e: Correcting wrong usage of macro in r8192E_phy.c and removing corresponding warning in rtllib_debug.h

2014-01-05 Thread Andreas Frembs
We fixed in rtllib_debug.h the following checkpatch warning: WARNING: do {} while (0) macros should not be semicolon terminated. After deleting this semicolon we also had to fix the wrong use of this macro in rtl8192e/r8192E_phy.c Signed-off-by: Andreas Frembs Signed-off-by: Matthias

[PATCH 1/3] Staging rtl8192e: Fixing checkpatch error in rtllib_crypt_tkip.c

2014-01-05 Thread Andreas Frembs
In rtllib_crypt_tkip.c we fixed the following checkpatch error: ERROR: space required after that ',' Signed-off-by: Andreas Frembs Signed-off-by: Matthias Schoepe --- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 2/3] Staging rtl8192e: Fixing checkpatch error in rtllib_debug.h

2014-01-05 Thread Andreas Frembs
In rtllib_debug.h we fixed the following checkpatch error: ERROR: Macros with complex values should be enclosed in parenthesis We fixed this with a do {} while (0), because otherwise the compiler complained. Signed-off-by: Andreas Frembs Signed-off-by: Matthias Schoepe --- drivers

[PATCH 2/3] rtl8192e: Removing unused defines in rtl819x_Qos.h

2013-12-20 Thread Andreas Frembs
In rtl819x_Qos.h there were several macros defined but never used. So we removed this macros. Signed-off-by: Andreas Frembs Signed-off-by: Matthias Schoepe --- drivers/staging/rtl8192e/rtl819x_Qos.h | 37 -- 1 file changed, 37 deletions(-) diff --git a/drivers

[PATCH] rtl8192e: Fixing checkpatch errors and removing unused defines

2013-12-20 Thread Andreas Frembs
We fixed checkpatch errors in the rtl8192e driver and noticed that some macros that produced errors in checkpatch are unused, so we removed them. There are no functional changes in this patch. ___ devel mailing list de...@linuxdriverproject.org http://dr

[PATCH 1/3] rtl8192e: Fixing checkpatch errors

2013-12-20 Thread Andreas Frembs
This patch fixes the following checkpatch errors from rtllib_endianfree.h: - ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Andreas Frembs Signed-off-by: Matthias Schoepe --- drivers/staging/rtl8192e/rtllib_endianfree.h | 6 +++--- 1 file changed, 3

[PATCH 3/3] rlt8192e: Removing unused defines in rltlib_endianfree.h

2013-12-20 Thread Andreas Frembs
where else we decided to remove them from the driver. Signed-off-by: Andreas Frembs Signed-off-by: Matthias Schoepe --- drivers/staging/rtl8192e/rtllib_endianfree.h | 38 1 file changed, 38 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_endianfree.h