netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tg3: remove IRQF_SAMPLE_RANDOM flag
@ 2012-02-22 13:06 Davidlohr Bueso
  2012-02-22 19:57 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2012-02-22 13:06 UTC (permalink / raw)
  To: Matt Carlson, Michael Chan, David S. Miller; +Cc: lkml, netdev

From: Davidlohr Bueso <dave@gnu.org>

This driver is the last user of the IRQF_SAMPLE_RANDOM flag for net drivers, and since add_*_randomness
interfaces have now deprecated the flag as a source of external noise, we can remove it.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 drivers/net/ethernet/broadcom/tg3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index a1f2e0f..2badfc3 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -9401,7 +9401,7 @@ static int tg3_test_interrupt(struct tg3 *tp)
 	}
 
 	err = request_irq(tnapi->irq_vec, tg3_test_isr,
-			  IRQF_SHARED | IRQF_SAMPLE_RANDOM, dev->name, tnapi);
+			  IRQF_SHARED, dev->name, tnapi);
 	if (err)
 		return err;
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tg3: remove IRQF_SAMPLE_RANDOM flag
  2012-02-22 13:06 [PATCH] tg3: remove IRQF_SAMPLE_RANDOM flag Davidlohr Bueso
@ 2012-02-22 19:57 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-02-22 19:57 UTC (permalink / raw)
  To: dave; +Cc: mcarlson, mchan, linux-kernel, netdev

From: Davidlohr Bueso <dave@gnu.org>
Date: Wed, 22 Feb 2012 14:06:54 +0100

> From: Davidlohr Bueso <dave@gnu.org>
> 
> This driver is the last user of the IRQF_SAMPLE_RANDOM flag for net drivers, and since add_*_randomness
> interfaces have now deprecated the flag as a source of external noise, we can remove it.
> 
> Signed-off-by: Davidlohr Bueso <dave@gnu.org>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-22 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-22 13:06 [PATCH] tg3: remove IRQF_SAMPLE_RANDOM flag Davidlohr Bueso
2012-02-22 19:57 ` David Miller

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).