forked from luck/tmp_suning_uos_patched
0d962e061a
Enclose multiple macro parameters in parentheses in order to
make such macros safer and fix the Clang warning below:
drivers/media/i2c/adv748x/adv748x-afe.c:452:12: warning: operator '?:'
has lower precedence than '|'; '|' will be evaluated first
[-Wbitwise-conditional-parentheses]
ret = sdp_clrset(state, ADV748X_SDP_FRP, ADV748X_SDP_FRP_MASK, enable
? ctrl->val - 1 : 0);
Fixes:
|
||
---|---|---|
.. | ||
adv748x-afe.c | ||
adv748x-core.c | ||
adv748x-csi2.c | ||
adv748x-hdmi.c | ||
adv748x.h | ||
Makefile |