diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_hw.c b/drivers/infiniband/hw/nes/nes_hw.c index eca3520565fe..7c49cc882d75 100644 --- a/drivers/infiniband/hw/nes/nes_hw.c +++ b/drivers/infiniband/hw/nes/nes_hw.c | |||
@@ -2008,7 +2008,7 @@ static void process_critical_error(struct nes_device *nesdev) | |||
2008 | 0x01010000 | (debug_error & 0x0000ffff)); | 2008 | 0x01010000 | (debug_error & 0x0000ffff)); |
2009 | if (crit_err_count++ > 10) | 2009 | if (crit_err_count++ > 10) |
2010 | nes_write_indexed(nesdev, NES_IDX_DEBUG_ERROR_MASKS1, 1 << 0x17); | 2010 | nes_write_indexed(nesdev, NES_IDX_DEBUG_ERROR_MASKS1, 1 << 0x17); |
2011 | error_module = (u16) (debug_error & 0x0F00) >> 8; | 2011 | error_module = (u16) (debug_error & 0x1F00) >> 8; |
2012 | if (++nesdev->nesadapter->crit_error_count[error_module-1] >= | 2012 | if (++nesdev->nesadapter->crit_error_count[error_module-1] >= |
2013 | nes_max_critical_error_count) { | 2013 | nes_max_critical_error_count) { |
2014 | printk(KERN_ERR PFX "Masking off critical error for module " | 2014 | printk(KERN_ERR PFX "Masking off critical error for module " |