On 14/02/17 12:30, Roger Pau Monne wrote:
> And fix the following errors reported:
>
> traps.c:2014:25: error: equality comparison with extraneous parentheses
>       [-Werror,-Wparentheses-equality]
>         else if ( (port == RTC_PORT(0)) )
>                    ~~~~~^~~~~~~~~~~~~~
> traps.c:2014:25: note: remove extraneous parentheses around the comparison to 
> silence this warning
>         else if ( (port == RTC_PORT(0)) )
>                   ~     ^             ~
> traps.c:2014:25: note: use '=' to turn this equality comparison into an 
> assignment
>         else if ( (port == RTC_PORT(0)) )
>                         ^~
>                         =
> traps.c:2083:25: error: equality comparison with extraneous parentheses
>       [-Werror,-Wparentheses-equality]
>         else if ( (port == RTC_PORT(0)) )
>                    ~~~~~^~~~~~~~~~~~~~
>
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>
> ---
> Cc: Andrew Cooper <andrew.coop...@citrix.com>
> Cc: George Dunlap <george.dun...@eu.citrix.com>
> Cc: Ian Jackson <ian.jack...@eu.citrix.com>
> Cc: Jan Beulich <jbeul...@suse.com>
> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
> Cc: Stefano Stabellini <sstabell...@kernel.org>
> Cc: Tim Deegan <t...@xen.org>
> Cc: Wei Liu <wei.l...@citrix.com>

Acked-by: Andrew Cooper <andrew.coop...@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to