aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAmit Vadhavana <[email protected]>2024-07-05 09:02:34 +0100
committerGreg Kroah-Hartman <[email protected]>2024-07-05 10:13:04 +0200
commitf7e46d45c597fa083e266252392908f3ea0e7ef4 (patch)
treebdee80f01b618bc0e191734a2f93eb4d41ae8803 /lib/test_fortify/write_overflow-strncpy-src.c
parentc66c0e7c511cde3f129af4792751074905fc248a (diff)
slimbus: Fix struct and documentation alignment in stream.c
The placement of the `segdist_codes` array documentation was corrected to conform with kernel documentation guidelines. The `@segdist_codes` was placed incorrectly within the struct `segdist_code` documentation block, which led to a potential misinterpretation of the code structure. The `segdist_codes` array documentation was moved outside the struct block, and a separate comment block was provided for it. This change ensures that clarity and proper alignment with kernel documentation standards are maintained. A kernel-doc warning was addressed: ./drivers/slimbus/stream.c:49: warning: Excess struct member 'segdist_codes' description in 'segdist_code' Signed-off-by: Amit Vadhavana <[email protected]> Reviewed-by: Ricardo B. Marliere <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions