Patchwork [net-next,v1,2/6] tg3: Remove IRQF_SAMPLE_RANDOM flag from internal tests

login
register
mail settings
Submitter david decotigny
Date Dec. 16, 2011, 6:19 p.m.
Message ID <e5a227a4cf2782ff8f73886dbc5ca0fb8fad9c8a.1324059527.git.decot@googlers.com>
Download mbox | patch
Permalink /patch/131882/
State Rejected
Delegated to: David Miller
Headers show

Comments

david decotigny - Dec. 16, 2011, 6:19 p.m.
From: Maciej ┼╗enczykowski <maze@google.com>

This complements commit ab392d2d6d4 ("Remove IRQF_SAMPLE_RANDOM flag
from network drivers"), removing IRQF_SAMPLE_RANDOM flag from internal
and self tests.

Tested: no visible regression on 1 actual host + ethtool -t passes.


Signed-off-by: David Decotigny <decot@googlers.com>
---
 drivers/net/ethernet/broadcom/tg3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index e04c4f9..a65b419 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -9387,7 +9387,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;