diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-03-30 12:28:12 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-04-02 21:17:47 +0200 |
commit | cb9a05a4f169347f85e345a2abe42c45e1d3157b (patch) | |
tree | e3763a88829155bb0f82b83010472170843e99c6 /hw/nios2 | |
parent | c7f15bc93661a36fec9fd0107654cf44d06c5992 (diff) | |
download | qemu-cb9a05a4f169347f85e345a2abe42c45e1d3157b.zip qemu-cb9a05a4f169347f85e345a2abe42c45e1d3157b.tar.gz qemu-cb9a05a4f169347f85e345a2abe42c45e1d3157b.tar.bz2 |
ipmi: Fix macro issues
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 https://bugs.launchpad.net/bugs/1651167
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1490894892-8055-1-git-send-email-minyard@acm.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/nios2')
0 files changed, 0 insertions, 0 deletions