[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1301315152.3182.19.camel@edumazet-laptop>
Date: Mon, 28 Mar 2011 14:25:52 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Javier Martinez Canillas <martinez.javier@...il.com>
Cc: David Miller <davem@...emloft.net>,
Dan Carpenter <error27@...il.com>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 2/2 v2] tg3: Don't use IRQF_SAMPLE_RANDOM
Le lundi 28 mars 2011 à 14:15 +0200, Javier Martinez Canillas a écrit :
> This flag is scheduled for removal so we shouldn't used it.
>
> Signed-off-by: Javier Martinez Canillas <martinez.javier@...il.com>
> ---
> v2: Initialize flags to zero suggested by Dan Carpenter.
>
> drivers/net/tg3.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
1) We dont believe its Janitor material ;)
http://thread.gmane.org/gmane.linux.kernel/680723
http://kerneltrap.org/mailarchive/linux-netdev/2009/4/6/5417754
2) If removal is accepted, we should patch all drivers at once
drivers/net/xen-netfront.c:1419: IRQF_SAMPLE_RANDOM, netdev->name,
drivers/net/cris/eth_v10.c:495: IRQF_SAMPLE_RANDOM, cardname, (void *)dev)) {
drivers/net/ibmlana.c:785: result = request_irq(priv->realirq, irq_handler, IRQF_SHARED | IRQF_SAMPLE_RANDOM, dev->name, dev);
drivers/net/qla3xxx.c:3471: unsigned long irq_flags = IRQF_SAMPLE_RANDOM | IRQF_SHARED;
drivers/net/netxen/netxen_nic_main.c:908: unsigned long flags = IRQF_SAMPLE_RANDOM;
drivers/net/atlx/atl1.c:2575: int irq_flags = IRQF_SAMPLE_RANDOM;
drivers/net/macb.c:1174: err = request_irq(dev->irq, macb_interrupt, IRQF_SAMPLE_RANDOM,
drivers/net/bcm63xx_enet.c:843: IRQF_SAMPLE_RANDOM | IRQF_DISABLED, dev->name, dev);
drivers/net/niu.c:6075: IRQF_SHARED | IRQF_SAMPLE_RANDOM,
drivers/net/tg3.c:8842: flags = IRQF_SAMPLE_RANDOM;
--
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