Jie Zhou b8617fcc51 eal/windows: check callback parameter of alarm functions
EAL functions rte_eal_alarm_set() and rte_eal_alarm_cancel()
did not for invalid parameters in Windows implementation,
which is caught by the unit test alarm_autotest.

Enforce parameter check to fail fast for invalid parameters.

Fixes: f4cbdbc7fbd2 ("eal/windows: implement alarm API")
Cc: stable@dpdk.org

Signed-off-by: Jie Zhou <jizh@linux.microsoft.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
2021-07-22 22:06:27 +02:00
..
2021-06-17 09:37:11 +02:00
2021-05-11 15:17:55 +02:00
2021-07-05 15:11:30 +02:00
2021-05-10 15:31:42 +02:00
2021-07-09 17:22:42 +02:00
2021-06-04 09:38:08 +02:00
2021-07-21 13:51:17 +02:00
2021-07-22 21:36:30 +02:00
2021-05-11 15:17:55 +02:00
2021-06-24 15:34:45 +02:00
2021-07-09 23:31:54 +02:00