1
0
Fork 0

drivers:staging:silicom fixed checkpatch coding style error on macros

checkpatch displays below errors for bypasslib/bp_ioctl.h file

	 ERROR: Macros with complex values should be enclosed in parenthesis
Hence added parenthesis for macros with complex values.

Signed-off-by: Surendra Patil <surendra.tux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Surendra Patil 2014-02-11 23:57:23 -08:00 committed by Greg Kroah-Hartman
parent 4624b5433f
commit f1fe476ecb
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
#define WDT_STEP_TIME 0x10 /* BIT_4 */
#define WD_MIN_TIME_GET(desc) (desc & 0xf)
#define WD_STEP_COUNT_GET(desc) (desc>>5) & 0xf
#define WD_STEP_COUNT_GET(desc) ((desc>>5) & 0xf)
typedef enum {
IS_BYPASS = 1,
@ -156,7 +156,7 @@ typedef enum {
} CMND_TYPE_SD;
#define SIOCGIFBYPASS SIOCDEVPRIVATE+10
#define SIOCGIFBYPASS (SIOCDEVPRIVATE+10)
struct bp_info {
char prod_name[14];