[dpdk-dev] [PATCH 3/6] drivers: fix bad bit shift operation
Wang, Haiyue
haiyue.wang at intel.com
Tue Nov 2 02:22:20 CET 2021
> -----Original Message-----
> From: Harman Kalra <hkalra at marvell.com>
> Sent: Tuesday, November 2, 2021 01:54
> To: dev at dpdk.org; Wang, Haiyue <haiyue.wang at intel.com>
> Cc: david.marchand at redhat.com; Mcnamara, John <john.mcnamara at intel.com>; Harman Kalra
> <hkalra at marvell.com>
> Subject: [PATCH 3/6] drivers: fix bad bit shift operation
>
> This patch fixes coverity issue by adding a check for
> negative value to avoid bad bit shift operation.
>
> Coverity issue: 373717,373697,373685
> Fixes: d61138d4f0e2 ("drivers: remove direct access to interrupt handle")
>
> Signed-off-by: Harman Kalra <hkalra at marvell.com>
> ---
> drivers/net/e1000/igb_ethdev.c | 17 +++++++++++------
> drivers/net/igc/igc_ethdev.c | 18 +++++++++++++-----
Acked-by: Haiyue Wang <haiyue.wang at intel.com>
> --
> 2.18.0
More information about the dev
mailing list