Re: [PATCH][linux-next] soc: fsl: dpio: Unsigned compared against 0 in

2021-10-19 Thread Ioana Ciornei
> > Subject: [PATCH][linux-next] soc: fsl: dpio: Unsigned compared against 0 in > > Coverity complains of unsigned compare against 0. There are 2 cases in > this function: > > 1821itp = (irq_holdoff * 1000) / p->desc->qman_256_cycles_per_ns; > > CID 12

[PATCH][linux-next] soc: fsl: dpio: Unsigned compared against 0 in qbman_swp_set_irq_coalescing()

2021-10-18 Thread Tim Gardner
Coverity complains of unsigned compare against 0. There are 2 cases in this function: 1821itp = (irq_holdoff * 1000) / p->desc->qman_256_cycles_per_ns; CID 121131 (#1 of 1): Unsigned compared against 0 (NO_EFFECT) unsigned_compare: This less-than-zero comparison of an unsigned value is ne