Fix misc-macro-parentheses warnings in lmkd.

Bug: 28705665
Change-Id: I43388c0f9fdc8c2a0c0f4495f96bbc27e3de8a1d
This commit is contained in:
Chih-Hung Hsieh 2016-05-18 15:37:20 -07:00
parent 148d8dd2f2
commit d9e76537ad
1 changed files with 1 additions and 1 deletions

2
lmkd.c
View File

@ -114,7 +114,7 @@ struct proc {
static struct proc *pidhash[PIDHASH_SZ]; static struct proc *pidhash[PIDHASH_SZ];
#define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1))
#define ADJTOSLOT(adj) (adj + -OOM_ADJUST_MIN) #define ADJTOSLOT(adj) ((adj) + -OOM_ADJUST_MIN)
static struct adjslot_list procadjslot_list[ADJTOSLOT(OOM_ADJUST_MAX) + 1]; static struct adjslot_list procadjslot_list[ADJTOSLOT(OOM_ADJUST_MAX) + 1];
/* /*