From: Michal Simek <monstr@monstr.eu>
To: David Miller <davem@davemloft.net>
Cc: glikely@secretlab.ca, netdev@vger.kernel.org, rusty@rustcorp.com.au
Subject: Re: [PATCH] ll_temac: Fix poll implementation
Date: Wed, 25 Aug 2010 14:24:05 +0200 [thread overview]
Message-ID: <4C750B65.4090309@monstr.eu> (raw)
In-Reply-To: <20100819.004845.148553935.davem@davemloft.net>
David Miller wrote:
> From: Michal Simek <monstr@monstr.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@monstr.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?
Rusty, you there?
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
prev parent reply other threads:[~2010-08-25 12:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 10:26 [PATCH] ll_temac: Fix poll implementation Michal Simek
2010-08-19 7:48 ` David Miller
2010-08-25 12:24 ` Michal Simek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C750B65.4090309@monstr.eu \
--to=monstr@monstr.eu \
--cc=davem@davemloft.net \
--cc=glikely@secretlab.ca \
--cc=netdev@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).