|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] compile warnings in __IRQ_STAT
Hollis Blanchard wrote:
/home/hollis/source/xeno-unstable-ppc/xen/include/xen/softirq.h: In function
`cpu_raise_softirq': /home/hollis/source/xeno-unstable-ppc/xen/include/xen/softirq.h:28:
warning: use of compound expressions as lvalues is deprecated
[...]
#define __IRQ_STAT(cpu, member) ((void)(cpu), irq_stat[0].member)
So the warning is caused by this statement:
&((void)(cpu), irq_stat[0].member))
[...] Suggestions on how to fix?
#define __IRQ_STAT(cpu, member) (irq_stat[((void)(cpu), 0)].member)
--
David Hopwood <david.nospam.hopwood@xxxxxxxxxxxxxxxx>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|