1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 03:50:37 +00:00
Kuan-Wei Chiu 0ca863b7c6 alloc_tag: use str_on_off() helper
Replace the ternary (enable ?  "on" : "off") with the str_on_off() helper
from string_choices.h.  This improves readability by replacing the
three-operand ternary with a single function call, ensures consistent
string output, and allows potential string deduplication by the linker,
resulting in a slightly smaller binary.

Link: https://lkml.kernel.org/r/20250814093827.237980-1-visitorckw@gmail.com
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Cc: Ching-Chun (Jim) Huang <jserv@ccns.ncku.edu.tw>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-09-13 17:32:47 -07:00
..
2024-12-12 18:26:32 +01:00
2025-07-31 16:52:32 -07:00
2025-03-16 22:30:49 -07:00
2025-04-11 17:32:38 -07:00
2025-09-13 17:32:47 -07:00
2025-04-11 17:32:37 -07:00
2024-07-12 16:39:53 -07:00
2024-02-01 13:06:40 +01:00
2025-09-13 17:32:45 -07:00
2025-07-08 19:11:57 -04:00
2025-03-25 10:18:31 -03:00
2025-01-12 20:21:15 -08:00
2025-06-30 09:31:57 -07:00
2024-05-22 11:53:02 -07:00
2025-01-14 19:45:35 +01:00
2024-10-14 16:33:24 -05:00
2025-07-13 16:38:24 -07:00
2025-03-17 12:17:00 -07:00
2025-05-11 17:54:04 -07:00
2024-02-15 12:17:28 -05:00
2025-07-09 22:42:05 -07:00
2025-03-25 10:18:31 -03:00
2025-08-02 12:01:41 -07:00
2025-08-04 10:54:36 -07:00
2024-12-09 13:48:29 -08:00
2025-08-02 12:01:37 -07:00