aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/cli.py
diff options
context:
space:
mode:
authorAntoine Tenart <[email protected]>2024-10-17 15:24:18 +0000
committerPaolo Abeni <[email protected]>2024-10-23 08:28:19 +0000
commita8cc8fa14541d6f8f1fbe78607a096e97c80179e (patch)
tree5170ada6a0e84f4bc762b943b20d805956d160ae /tools/net/ynl/cli.py
parentnet: sysctl: remove always-true condition (diff)
downloadkernel-a8cc8fa14541d6f8f1fbe78607a096e97c80179e.tar.gz
kernel-a8cc8fa14541d6f8f1fbe78607a096e97c80179e.zip
net: sysctl: do not reserve an extra char in dump_cpumask temporary buffer
When computing the length we'll be able to use out of the buffers, one char is removed from the temporary one to make room for a newline. It should be removed from the output buffer length too, but in reality this is not needed as the later call to scnprintf makes sure a null char is written at the end of the buffer which we override with the newline. Signed-off-by: Antoine Tenart <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions