Re: [PATCH v14 2/3] mm: memory-failure: move return value documentation to function declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





在 2024/10/17 17:41, Jonathan Cameron 写道:
On Mon, 14 Oct 2024 16:42:39 +0800
Shuai Xue <xueshuai@xxxxxxxxxxxxxxxxx> wrote:

Part of return value comments for memory_failure() were originally
documented at the call site. Move those comments to the function
declaration to improve code readability and to provide developers with
immediate access to function usage and return information.

Signed-off-by: Shuai Xue <xueshuai@xxxxxxxxxxxxxxxxx>
Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
Seems sensible.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>


Thanks.

Best Regards,
Shuai




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux