mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
util_macros.h: fix the reference in kernel-doc
In PTR_IF() description the text refers to the parameter as (ptr) while the kernel-doc format asks for @ptr. Fix this accordingly. Link: https://lkml.kernel.org/r/20250428072737.3265239-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Alexandru Ardelean <aardelean@baylibre.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
f3def8270c
commit
c91d78622e
|
|
@ -85,7 +85,7 @@
|
|||
* @ptr: A pointer to assign if @cond is true.
|
||||
*
|
||||
* PTR_IF(IS_ENABLED(CONFIG_FOO), ptr) evaluates to @ptr if CONFIG_FOO is set
|
||||
* to 'y' or 'm', or to NULL otherwise. The (ptr) argument must be a pointer.
|
||||
* to 'y' or 'm', or to NULL otherwise. The @ptr argument must be a pointer.
|
||||
*
|
||||
* The macro can be very useful to help compiler dropping dead code.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user