diff options
author | Sumanth Korikkar <sumanthk@linux.ibm.com> | 2025-08-08 14:46:43 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-08-20 16:38:23 +0200 |
commit | efe89a30f70753d861340a20365812e93d34a0de (patch) | |
tree | 4c6267a1fe419716cbbb2749bb80a14b4705601b /rust/helpers | |
parent | c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff) |
s390/sclp: Refactor sclp_cmd.c
To improve readability, refactor sclp_cmd.c:
* Move defines and structures to the beginning.
* Reverse x-mas tree usage.
* Remove spaces after casting to eliminate checkpatch warnings.
* Remove unnecessary comments.
* Reframe certain comments.
* Convert all unsigned long long to unsigned long since unsigned long
long is a leftover from the 31/32-bit era.
* Use correct format specifiers.
* Add braces to for loops with bodies containing more than one line.
* Sort header files and remove unnecessary ones.
* Use __packed and __aligned instead of __attribute((packed,
aligned(8))) in structures.
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions