[PATCH v2] staging: et131x: replace magic number bitmask with defined values
Mark Einon
mark.einon at gmail.com
Thu Dec 5 22:55:49 UTC 2013
Signed-off-by: Mark Einon <mark.einon at gmail.com>
---
I noticed the obvious typo just after sending. Now fixed.
drivers/staging/et131x/et131x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c
index 4d76d79..2f3c84a 100644
--- a/drivers/staging/et131x/et131x.c
+++ b/drivers/staging/et131x/et131x.c
@@ -4122,7 +4122,7 @@ static void et131x_isr_handler(struct work_struct *work)
if (status & ET_INTR_RXDMA_XFR_DONE)
et131x_handle_recv_interrupt(adapter);
- status &= 0xffffffd7;
+ status &= ~(ET_INTR_TXDMA_ERR | ET_INTR_RXDMA_XFR_DONE);
if (!status)
goto out;
--
1.7.10.4
More information about the devel
mailing list