Browse Source

Purge warnings from tg3.c

tags/v0.9.3
Marty Connor 17 years ago
parent
commit
13016297ed
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/net/tg3.c

+ 1
- 1
src/drivers/net/tg3.c View File

@@ -1505,7 +1505,7 @@ static int tg3_abort_hw(struct tg3 *tp)
1505 1505
 	}
1506 1506
 	if (i >= MAX_WAIT_CNT) {
1507 1507
 		printf("tg3_abort_hw timed out TX_MODE_ENABLE will not clear MAC_TX_MODE=%x\n",
1508
-			tr32(MAC_TX_MODE));
1508
+		       (unsigned int) tr32(MAC_TX_MODE));
1509 1509
 		return -ENODEV;
1510 1510
 	}
1511 1511
 

Loading…
Cancel
Save