> -----Original Message----- > From: Harman Kalra <[email protected]> > Sent: Tuesday, November 2, 2021 01:54 > To: [email protected]; Wang, Haiyue <[email protected]> > Cc: [email protected]; Mcnamara, John <[email protected]>; > Harman Kalra > <[email protected]> > 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 <[email protected]> > --- > drivers/net/e1000/igb_ethdev.c | 17 +++++++++++------ > drivers/net/igc/igc_ethdev.c | 18 +++++++++++++-----
Acked-by: Haiyue Wang <[email protected]> > -- > 2.18.0

