[PATCH v2] pmdomain: Use str_enable_disable-like helpers
Krzysztof Kozlowski
krzk at kernel.org
Tue Jun 10 05:32:27 PDT 2025
On 10/06/2025 13:34, shao.mingyin at zte.com.cn wrote:
> From: Shao Mingyin <shao.mingyin at zte.com.cn>
>
> Replace ternary (condition ? "enable" : "disable") syntax and ternary
> (condition ? "on" : "off") syntax with helpers from
> string_choices.h because:
> 1. Simple function call with one argument is easier to read. Ternary
> operator has three arguments and with wrapping might lead to quite
> long code.
> 2. Is slightly shorter thus also easier to read.
> 3. It brings uniformity in the text - same string.
> 4. Allows deduping by the linker, which results in a smaller binary
> file.
So you just taken everything from the same my patch - even entire commit
subject and commit description - and sent it as yours?
https://lore.kernel.org/all/20250114203547.1013010-1-krzysztof.kozlowski@linaro.org/
oh my, if doing EXACTLY the same keep original authorship - the From and
Sob fields.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list