diff options
| author | 2025-12-15 10:10:13 +0900 | |
|---|---|---|
| committer | 2025-12-15 10:10:13 +0900 | |
| commit | c5224b8a1ba52d70b3fc2548109bd04bbbc0c8a6 (patch) | |
| tree | 20319716092b909203bde66290f0705d87c7fdaa /scripts/Makefile.thinlto | |
| parent | ASoC: sdw-mockup: Drop dummy remove function (diff) | |
| parent | ASoC: qcom: Minor readability improve with new lines (diff) | |
ASoC: qcom: Fix confusing cleanup.h
Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>:
Please, please stop ending cleanup.h patches for very simple code like:
foo = kzalloc();
kfree(foo);
return;
... *if you do not intend to read cleanup.h*. These changes are making
simple code not necessarily simpler. But worse, if you do not read
cleanup.h then you introduce actually undesired, error-prone and wrong
style of having constructors with redundant values (= NULL).
This is actually worse code.
If you do not agree in declaration-in-place-of-use (fair!), then do not
use cleanup.h. If you want to use cleanup.h, then please read cleanup.h
before.
This is second mixup I see recently around Qualcomm files.
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
