Re: [Qemu-devel] [PATCH v2] ipmi: Fix macro issues

2016-12-22 Thread Eric Blake
On 12/22/2016 01:18 PM, miny...@acm.org wrote: > From: Corey Minyard > > Macro parameters should almost always have () around them when used. > llvm reported an error on this. > > Remove redundant parenthesis and put parenthesis around the entire > macros with assignments in case they are used i

[Qemu-devel] [PATCH v2] ipmi: Fix macro issues

2016-12-22 Thread minyard
From: Corey Minyard Macro parameters should almost always have () around them when used. llvm reported an error on this. Remove redundant parenthesis and put parenthesis around the entire macros with assignments in case they are used in an expression. Remove some unused macros. Reported in htt