aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2021-03-17 13:34:35 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-03-18 12:58:27 -0400
commitf2616c772c768485de18e7fcb2816bcdcd098339 (patch)
treefc2134522f8dad91f3f04851695c603fc0e61a4d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parenttracing: Add check of trace event print fmts for dereferencing pointers (diff)
downloadwireguard-linux-f2616c772c768485de18e7fcb2816bcdcd098339.tar.xz
wireguard-linux-f2616c772c768485de18e7fcb2816bcdcd098339.zip
seq_buf: Add seq_buf_terminate() API
In the case that the seq_buf buffer needs to be printed directly, add a way to make sure that the buffer is safe to read by forcing a nul terminating character at the end of the string, or the last byte of the buffer if the string has overflowed. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions