[PATCH 2/2] scripts/kernel-doc: Do not process backslash lines in comments

2024-01-22 Thread Anna-Maria Behnsen
Top Level /*Child A Child B ---8<--- To prevent this, do the pre-processing only for lines which are no comments, e.g. do not start with ' *'. Suggested-by: Matthew Wilcox Signed-off-by: Anna-Maria Behnsen --- scripts/kernel-doc | 2 +- 1

[PATCH 0/2] kernel-doc: Do not pre-process comments

2024-01-22 Thread Anna-Maria Behnsen
y tests as I'm not a perl neither a kernel-doc expert. Thanks, Anna-Maria Anna-Maria Behnsen (2): drm/vram-helper: Fix 'multi-line' kernel-doc comments scripts/kernel-doc: Do not process backslash lines in comments drivers/gpu/drm/drm_gem_vram_helper.c | 44 +

[PATCH 1/2] drm/vram-helper: Fix 'multi-line' kernel-doc comments

2024-01-22 Thread Anna-Maria Behnsen
Reformat lines in kernel-doc comments, which make use of the backslash at the end to suggest it is a multi-line comment. kernel-doc is able to process e.g. the short description of a function properly, even if it is across two lines. No functional change. Signed-off-by: Anna-Maria Behnsen