mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
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
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue