Re: [PATCH v3] media: ABS macro parameter parenthesization

2017-12-24 Thread Baruch Siach
Hi Dan, On Sun, Dec 24, 2017 at 11:03:08PM -0500, Dan Gopstein wrote: > From: Dan Gopstein > > Replace usages of the locally defined ABS() macro with calls to the > canonical abs() from kernel.h and remove the old definitions of ABS() The note about some wrong ABS() macro implementations that t

[PATCH v3] media: ABS macro parameter parenthesization

2017-12-24 Thread Dan Gopstein
From: Dan Gopstein Replace usages of the locally defined ABS() macro with calls to the canonical abs() from kernel.h and remove the old definitions of ABS() Signed-off-by: Dan Gopstein --- v2->v3: * replace local ABS() with kernel's abs() v1->v2: * unmangled the patch * added example to commit