On 2/7/22 11:15 PM, Dan Carpenter wrote:
The btf__resolve_size() function returns negative error codes so "elem_size" must be signed for the error handling to work. Fixes: 920d16af9b42 ("libbpf: BTF dumper support for typed data") Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>