[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100819.004845.148553935.davem@davemloft.net>
Date: Thu, 19 Aug 2010 00:48:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: monstr@...str.eu
Cc: glikely@...retlab.ca, netdev@...r.kernel.org, rusty@...tcorp.com.au
Subject: Re: [PATCH] ll_temac: Fix poll implementation
From: Michal Simek <monstr@...str.eu>
Date: Wed, 18 Aug 2010 12:26:34 +0200
> Functions ll_temac_rx_irq and ll_temac_tx_irq
> have pointer to net_device as second parameter not
> pointer to temac_local.
>
> Signed-off-by: Michal Simek <monstr@...str.eu>
Applied, thanks a lot.
I can't count how many times this kind of error has been
introduced. It's of cource because the handle passed to
IRQ handlers is an opaque void pointer, so if the underlying
type gets changed there is absolutely no type checking done
against by-hand calls of the IRQ handler.
Rusty Russell was, if I remember correctly, doing some work
to correct this such that IRQ handlers could in fact have
some proper typing in their handlers. Or maybe that was for
timer handlers?
Anyways that kind of thing would help here.
Rusty?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists