Revert "bpf: Fix bpf_strtol and bpf_strtoul helpers for 32bit"
This reverts commit 1f10bbe850
.
This commit is contained in:
parent
e59ec4a510
commit
fdff7f158f
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags,
|
||||||
s64 *, res)
|
long *, res)
|
||||||
{
|
{
|
||||||
long long _res;
|
long long _res;
|
||||||
int err;
|
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,
|
BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags,
|
||||||
u64 *, res)
|
unsigned long *, res)
|
||||||
{
|
{
|
||||||
unsigned long long _res;
|
unsigned long long _res;
|
||||||
bool is_negative;
|
bool is_negative;
|
||||||
|
|
Loading…
Reference in a new issue