math.h: amend abs() kernel-doc and add a note about signed type limits
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Nov 2025 15:20:51 +0000 (16:20 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 20 Nov 2025 22:03:42 +0000 (14:03 -0800)
commitf3fb126fdc9e148da38a6e25d7fc609774a99fc3
tree9d4bb4b6b4c7cd1e26dc15e55f674f4cb3e7e525
parent581ee79a254759ea8288057f762389820b39adcc
math.h: amend abs() kernel-doc and add a note about signed type limits

- amend the kernel-doc so the description is decoupled from the
  parameter descriptions.

- add a note to explain behaviour for the signed types when supplied
  value is the minimum (e.g., INT_MIN for int type).

Link: https://lkml.kernel.org/r/20251106152051.2361551-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/math.h