Skip to contentSkip to conversation

powerpc: Fix indentation and replace typedef with struct name

PATCH Applied Thorsten Blum 2 participants 2 messages May 17, 2025 – Jun 19 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Fix indentation and replace typedef with struct name

Indent several struct members using tabs instead of spaces.

Replace the typedef alias AOUTHDR with an explicit struct name to silence a checkpatch warning.

---
 arch/powerpc/boot/hack-coff.c |  2 +-
 arch/powerpc/boot/rs6000.h    | 84 +++++++++++++++++------------------
 2 files changed, 41 insertions(+), 45 deletions(-)
arch/powerpc/boot/hack-coff.c +1 -1
index a010e124ac4b..6bf0c94302f5 100644
@@ -31,7 +31,7 @@ main(int ac, char **av)
     int i, nsect;
     int aoutsz;
     struct external_filehdr fhdr;
-    AOUTHDR aout;
+    struct aouthdr aout;
     struct external_scnhdr shdr;
 
     if (ac != 2) {
arch/powerpc/boot/rs6000.h +40 -44

116 lines not on this page · raw message

Signature · 1 line
2.49.0