]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dma-buf: Add syntax highlighting to code listings in the document
authorTommy Chiang <ototot@chromium.org>
Fri, 19 Jan 2024 03:31:26 +0000 (03:31 +0000)
committerChristian König <christian.koenig@amd.com>
Mon, 23 Sep 2024 14:01:27 +0000 (16:01 +0200)
commit87054ec00478573da0dfba2405d4bc1508471620
tree7b812425c0d68f8d9f80a9e0c949a24fe7f60aa9
parent8a16b5cdae26207ff4c22834559384ad3d7bc970
dma-buf: Add syntax highlighting to code listings in the document

This patch tries to improve the display of the code listing
on The Linux Kernel documentation website for dma-buf [1] .

Originally, it appears that it was attempting to escape
the '*' character, but looks like it's not necessary (now),
so we are seeing something like '\*' on the webite.

This patch removes these unnecessary backslashes and adds syntax
highlighting to improve the readability of the code listing.

[1] https://docs.kernel.org/driver-api/dma-buf.html

Signed-off-by: Tommy Chiang <ototot@chromium.org>
Reviewed-by: T.J. Mercier <tjmercier@google.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240119033126.1802711-1-ototot@chromium.org
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/dma-buf/dma-buf.c