summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorLouis Chauvet <louis.chauvet@bootlin.com>2025-07-03 09:56:57 +0200
committerLouis Chauvet <louis.chauvet@bootlin.com>2025-09-05 19:57:16 +0200
commit544f161a88af0370ced87783246418aed63b619c (patch)
treec82e5159af442b62bbed704d60f6815a078af483 /rust/helpers/build_bug.c
parent0d2902dfa31535c08d4976995d5b6890a8f43399 (diff)
drm/vkms: Create helpers macro to avoid code duplication in format callbacks
The callback functions for line conversion are almost identical for some format. The generic READ_LINE macro generate all the required boilerplate to process a line. Two overrides of this macro have been added to avoid duplication of the same arguments every time. Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com> Acked-by: Daniel Stone <daniels@collabora.com> Link: https://lore.kernel.org/r/20250703-b4-new-color-formats-v7-1-15fd8fd2e15c@bootlin.com Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions