Fix what looks like a consistent copy&paste error.
Don't make an integer to a boolean and then compare to a value which needs an integer comparison. Spotted by: reading kernel compile time log MFC after: 2 weeks
This commit is contained in:
parent
23d56b1e9c
commit
cd44287c16
@ -464,7 +464,7 @@ __hal_fifo_hw_initialize(xge_hal_device_h devh)
|
||||
|
||||
if (!hldev->config.fifo.queue[i].configured ||
|
||||
!hldev->config.fifo.queue[i].intr_vector ||
|
||||
!hldev->config.intr_mode != XGE_HAL_INTR_MODE_MSIX)
|
||||
hldev->config.intr_mode != XGE_HAL_INTR_MODE_MSIX)
|
||||
continue;
|
||||
|
||||
/* find channel */
|
||||
|
@ -609,7 +609,7 @@ __hal_ring_hw_initialize(xge_hal_device_h devh)
|
||||
|
||||
if (!hldev->config.ring.queue[i].configured ||
|
||||
!hldev->config.ring.queue[i].intr_vector ||
|
||||
!hldev->config.intr_mode != XGE_HAL_INTR_MODE_MSIX)
|
||||
hldev->config.intr_mode != XGE_HAL_INTR_MODE_MSIX)
|
||||
continue;
|
||||
|
||||
/* find channel */
|
||||
|
Loading…
x
Reference in New Issue
Block a user