avf: fix bit calculation function fls_u32 91/38191/2
authorTing Xu <[email protected]>
Mon, 6 Feb 2023 03:01:10 +0000 (03:01 +0000)
committerDave Wallace <[email protected]>
Fri, 3 Mar 2023 13:02:32 +0000 (13:02 +0000)
commitc4cccb444a68fea3af85e5c265ad7f97a7c703a6
treef0a7f80469012d139578e7d2e73f42fa9c4b4a4f
parent40225dbe1331aa4684375e9b58e059f2f28cb361
avf: fix bit calculation function fls_u32

In avf the function fls_u32 is used to calculate the power of 2.
Fix the expression of this function.

Type: fix

Signed-off-by: Ting Xu <[email protected]>
Change-Id: I27160de8588a5efb3f24306597a5a240deb3ab74
(cherry picked from commit dc95634a237419433b8189bf41b3968640b1f97e)
src/plugins/avf/avf_fdir_lib.c