Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix format warning
  • Loading branch information
dewyatt authored and dewyatt committed May 11, 2012
1 parent 4513543 commit 78a768a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/drivers/net/bnx2.c
Expand Up @@ -245,9 +245,9 @@ static int bnx2_probe ( struct pci_device *pci ) {

misc_id = readl (bnx2->regs + BNX2_MISC_ID);
DBGC ( bnx2, "BCM%04X (rev %c%d) detected\n",
( misc_id & BNX2_MISC_ID_CHIP_NUM ) >> 16,
( ( misc_id & BNX2_MISC_ID_CHIP_REV ) >> 12 ) + 'A',
( misc_id & BNX2_MISC_ID_CHIP_METAL ) >> 4 );
( unsigned int ) ( misc_id & BNX2_MISC_ID_CHIP_NUM ) >> 16,
( int ) ( ( misc_id & BNX2_MISC_ID_CHIP_REV ) >> 12 ) + 'A',
( int ) ( misc_id & BNX2_MISC_ID_CHIP_METAL ) >> 4 );

/* Reset the NIC */
if ( ( rc = bnx2_reset ( bnx2 ) ) != 0 )
Expand Down

0 comments on commit 78a768a

Please sign in to comment.