Re: [parisc-linux] Cast of lvalue warning in the last k 2.6.5-rc2 with last gcc-3.3 (next)
Joel Soete
soete.joel at tiscali.be
Thu Mar 25 00:11:35 MST 2004
>> }
>> while (count > 3) {
>> __raw_writel(*(u32 *)src, dest);
>> - src += 4;
>> - dest += 4;
>> - count -= 4;
>> + src += sizeof(u32);
>> + dest += sizeof(u32);
>> + count -= sizeof(u32);
>
>No, don't change these.
Just to explain that it was inspired by a Andreas Jaeger's patch (http://sources.redhat.com/ml/libc-hacker/2004-03/msg00007.html)
and wasn't originaly requested by the warning.
But I find it nice to add it to show the relationship between __raw_writel()
and increment, decrement actions.
That said, there are no urgency to fix it: it is still a warning with gcc-3.3
:)
Thanks for feedback,
Joel
T
----------------------------------------------------------------------------------------
Tiscali ADSL: 35 /mois, la meilleure offre du marché!
http://reg.tiscali.be/default.asp?lg=fr
More information about the parisc-linux
mailing list