Re: BUG in irq.c?

David Schwartz (davids@wiznet.net)
Mon, 17 Feb 1997 10:43:18 -0500 (EST)


C is a wonderful language. You can even do this:

int x[10];
3[x]=5;

DS

--------------------------------------------------------------------------
Jeane L. Dixon, world renowned psychic, died Saturday (1/25) at age 79.
There was almost universal sadness and lament throughout the world of
celebrity psychics. Contacted at her home, Dionne Warwick's spokeswoman
said that "[Miss] Warwick is beside herself -- none of us expected this to
happen".
--------------------------------------------------------------------------

On Sat, 15 Feb 1997, David S. Miller wrote:

> From: "Andrew E. Mileski" <aem@netcom.ca>
> Date: Sat, 15 Feb 1997 23:36:46 -0500 (EST)
>
> linux-2.1.26/arch/i386/kernel/irq.c
> 221: static struct irqaction *irq_action[16] = {
> 480: void free_irq(unsigned int irq, void *dev_id)
> 497: if (!irq[irq_action]) {
> ^^^^^^^^^^^^^^^
> Playing dumb - Shouldn't this be "irq_action[irq]"?
>
> It is the same thing. The joys C pointer calculations...
>
> ---------------------------------------------////
> Yow! 11.26 MB/s remote host TCP bandwidth & ////
> 199 usec remote TCP latency over 100Mb/s ////
> ethernet. Beat that! ////
> -----------------------------------------////__________ o
> David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><
>
>