]> Gentwo Git Trees - linux/.git/commit
PM: hibernate: Clean up kernel-doc comment style usage
authorSunday Adelodun <adelodunolaoluwa@yahoo.com>
Fri, 14 Nov 2025 22:04:38 +0000 (23:04 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 17 Nov 2025 19:16:56 +0000 (20:16 +0100)
commit46fc75a29b7034d1971afcbdf47b88926a46b1ea
tree18a94258f6ecc41ef049c8c77da00117370b8e65
parent37d6d92fe0859f72a25f91f875efa6feb676de68
PM: hibernate: Clean up kernel-doc comment style usage

Several static functions in kernel/power/swap.c were described using the
kernel-doc comment style (/** ... */) even though they are not exported
or referenced by generated documentation. This led to kernel-doc warnings
and stylistic inconsistencies.

Convert these unnecessary kernel-doc blocks to regular C comments,
remove comment blocks that are no longer useful, relocate comments to
more appropriate positions where needed, and fix a few "Return:"
descriptions that were either missing or incorrectly formatted.

No functional changes.

Signed-off-by: Sunday Adelodun <adelodunolaoluwa@yahoo.com>
[ rjw: Subject adjustment, changelog edits, comment edits ]
Link: https://patch.msgid.link/20251114220438.52448-1-adelodunolaoluwa@yahoo.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/swap.c