On 4/15/24 09:41, Nathan Chancellor wrote:
On Sun, Apr 14, 2024 at 11:26:53AM +0500, Muhammad Usama Anjum wrote:
Let the compilers (clang) know that this function would just call exit() and would never return. It is needed to avoid false positive static analysis errors. All similar functions calling exit() unconditionally have been marked as __noreturn.
Signed-off-by: Muhammad Usama Anjum usama.anjum@collabora.com
Reviewed-by: Nathan Chancellor nathan@kernel.org
Thank you both. Applied to linux-kselftest next for Linux 6.10-rc1.
thanks, -- Shuah