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>
This commit is contained in:
Родитель
4624b5433f
Коммит
f1fe476ecb
|
@ -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];
|
||||
|
|
Загрузка…
Ссылка в новой задаче