aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-04-22 10:24:07 +0000
committerChristian Brauner <[email protected]>2024-05-02 14:28:20 +0000
commite035af9f6ebacd98774b1be2af58a5afd6d0d291 (patch)
treeeb2f210e060b44674d6b790dcda401f88a340fdc /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentseq_file: Optimize seq_puts() (diff)
downloadkernel-e035af9f6ebacd98774b1be2af58a5afd6d0d291.tar.gz
kernel-e035af9f6ebacd98774b1be2af58a5afd6d0d291.zip
seq_file: Simplify __seq_puts()
Change the implementation of the out-of-line __seq_puts() to simply be a seq_write() call instead of duplicating the overflow/memcpy logic. Suggested-by: Rasmus Villemoes <[email protected]> Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/7cebc1412d8d1338a7e52cc9291d00f5368c14e4.1713781332.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions