Skip to content
Commit 87e51ac6 authored by Maxim Mikityanskiy's avatar Maxim Mikityanskiy Committed by Alexei Starovoitov
Browse files

bpf: Add the get_reg_width function



Put calculation of the register value width into a dedicated function.
This function will also be used in a following commit.

Signed-off-by: default avatarMaxim Mikityanskiy <maxim@isovalent.com>
Link: https://lore.kernel.org/r/20240108205209.838365-8-maxtram95@gmail.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 8e0e074a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment