qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] target-tricore: Fix two helper functions (clang


From: Bastian Koppelmann
Subject: Re: [Qemu-devel] [PATCH] target-tricore: Fix two helper functions (clang warnings)
Date: Sat, 07 Mar 2015 10:44:03 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Hi Stefan,

On 03/07/2015 09:33 AM, Stefan Weil wrote:
clang report:

target-tricore/op_helper.c:1247:24: warning:
   taking the absolute value of unsigned type 'uint32_t' (aka 'unsigned int')
   has no effect [-Wabsolute-value]
target-tricore/op_helper.c:1248:25: warning:
   taking the absolute value of unsigned type 'uint32_t' (aka 'unsigned int')
   has no effect [-Wabsolute-value]
target-tricore/op_helper.c:1249:19: warning:
   taking the absolute value of unsigned type 'uint32_t' (aka 'unsigned int')
   has no effect [-Wabsolute-value]
target-tricore/op_helper.c:1297:24: warning:
   taking the absolute value of unsigned type 'uint32_t' (aka 'unsigned int')
   has no effect [-Wabsolute-value]
target-tricore/op_helper.c:1298:25: warning:
   taking the absolute value of unsigned type 'uint32_t' (aka 'unsigned int')
   has no effect [-Wabsolute-value]
target-tricore/op_helper.c:1299:19: warning:
   taking the absolute value of unsigned type 'uint32_t' (aka 'unsigned int')
   has no effect [-Wabsolute-value]

Cc: Bastian Koppelmann <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
---
Good catch. I'm really confused, that this was not breaking my test suit. Your fix looks good to me at first sight, but I'll look into the problem.

Cheers,
Bastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]