Re: [PATCH bpf-next] bpf: Clarify return value of probe str helpers

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Tue, 12 Jan 2021 12:34:22 + you wrote: > When the buffer is too small to contain the input string, these > helpers return the length of the buffer, not the length of the > original string. This tries to make the docs to

Re: [PATCH bpf-next] bpf: Clarify return value of probe str helpers

2021-01-12 Thread Yonghong Song
On 1/12/21 4:34 AM, Brendan Jackman wrote: When the buffer is too small to contain the input string, these helpers return the length of the buffer, not the length of the original string. This tries to make the docs totally clear about that, since "the length of the [copied ]string" could also

Re: [PATCH bpf-next] bpf: Clarify return value of probe str helpers

2021-01-12 Thread KP Singh
On Tue, Jan 12, 2021 at 1:34 PM Brendan Jackman wrote: > > When the buffer is too small to contain the input string, these > helpers return the length of the buffer, not the length of the > original string. This tries to make the docs totally clear about > that, since "the length of the [copied ]s

[PATCH bpf-next] bpf: Clarify return value of probe str helpers

2021-01-12 Thread Brendan Jackman
When the buffer is too small to contain the input string, these helpers return the length of the buffer, not the length of the original string. This tries to make the docs totally clear about that, since "the length of the [copied ]string" could also refer to the length of the input. Signed-off-by