Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

From: Daniel Tang
Date: Wed Jul 03 2013 - 08:12:26 EST


Hi,

On 03/07/2013, at 10:07 PM, Michal Marek <mmarek@xxxxxxx> wrote:

> On 3.7.2013 14:06, Michal Marek wrote:
>> Added David Daney to CC.
>
> Second attempt, sorry.
>
>
>> On 9.6.2013 04:33, Daniel Tang wrote:
>>> The pointer passed to the _r() macro does not always match the type
>>> of the function that it is aliasing and raises several of the following
>>> warnings at compile time:
>>>
>>> warning: passing argument 1 of ‘r8’ from incompatible pointer type
>>
>> In what environment (arch, compiler, glibc) are you seeing this?
>>

I'm cross compiling the ARM arch with gcc version 4.7.2 on 64 bit OS X. It should throw that warning on any 64 bit environment (not just OS X) but I haven't tested it.

If you want, I can look a little deeper into this.

Cheers,
tangrs--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/