Re: [PATCH] event/dlb2: fix invalid shift value

2022-03-03 Thread Jerin Jacob
On Wed, Mar 2, 2022 at 8:42 PM Timothy McDaniel wrote: > > Add a check to ensure that all shift counts are valid. > Shifting by more than 63 bits may result in undefined behavior, as > noted during coverity scan. > > Fixes: e697f35dbdd1 ("event/dlb2: update rolling mask used for dequeue") > Coveri

[PATCH] event/dlb2: fix invalid shift value

2022-03-02 Thread Timothy McDaniel
Add a check to ensure that all shift counts are valid. Shifting by more than 63 bits may result in undefined behavior, as noted during coverity scan. Fixes: e697f35dbdd1 ("event/dlb2: update rolling mask used for dequeue") Coverity issue: 376527 Signed-off-by: Timothy McDaniel --- drivers/event