Revert "bpf: Fix bpf_strtol and bpf_strtoul helpers for 32bit"

This reverts commit 1f10bbe850.
This commit is contained in:
Ksawlii 2024-11-24 00:23:22 +01:00
parent e59ec4a510
commit fdff7f158f

View file

@ -497,7 +497,7 @@ static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags,
}
BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags,
s64 *, res)
long *, res)
{
long long _res;
int err;
@ -522,7 +522,7 @@ const struct bpf_func_proto bpf_strtol_proto = {
};
BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags,
u64 *, res)
unsigned long *, res)
{
unsigned long long _res;
bool is_negative;