]> www.infradead.org Git - users/jedix/linux-maple.git/commit
driver:base:core: Adding a "Return:" line in comment for device_link_add()
authorYuesong Li <liyuesong@vivo.com>
Wed, 21 Aug 2024 04:04:32 +0000 (12:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2024 10:59:17 +0000 (12:59 +0200)
commit4a74f22386ccb1ddd06eb242bdd02548a7199bda
treed0527af954a5ac3d6d63c956df00dbc79a838331
parentb45ed06f46737f8c2ee65698f4305409f2386674
driver:base:core: Adding a "Return:" line in comment for device_link_add()

The original document doesn't explain the return value directly which
leads to confusing in error checking.

You can find the reason here:
Link: https://lore.kernel.org/all/1d4c39e109bcf288d5900670e024a315.sboyd@kernel.org/
Signed-off-by: Yuesong Li <liyuesong@vivo.com>
Link: https://lore.kernel.org/r/20240821040432.4049183-1-liyuesong@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c