aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorXiongfeng Wang <[email protected]>2020-09-14 02:48:54 +0000
committerBorislav Petkov <[email protected]>2020-09-18 07:14:01 +0000
commite6bbde8b2b4f5aeb129c5a6cb99f0b773c871b8c (patch)
tree8a818842a684d16e5058a8eb5872fa6a23a25d1c /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentEDAC/aspeed: Use module_platform_driver() to simplify (diff)
downloadkernel-e6bbde8b2b4f5aeb129c5a6cb99f0b773c871b8c.tar.gz
kernel-e6bbde8b2b4f5aeb129c5a6cb99f0b773c871b8c.zip
EDAC/mc_sysfs: Add missing newlines when printing {max,dimm}_location
Reading those sysfs entries gives: [root@localhost /]# cat /sys/devices/system/edac/mc/mc0/max_location memory 3 [root@localhost /]# cat /sys/devices/system/edac/mc/mc0/dimm0/dimm_location memory 0 [root@localhost /]# Add newlines after the value it prints for better readability. [ bp: Make len a signed int and change the check to catch wraparound. Increment the pointer p only when the length check passes. Use scnprintf(). ] Signed-off-by: Xiongfeng Wang <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions