Integral has uploaded this change for review.

View Change

arch/arm/armv7/exception.c: Fix checkpatch warnings and errors

Use better alignment attribute macro, add missing identifier names
for function definition arguments.

Change-Id: I1c5c33fc9210f068ff88c8d981f1a1c739890c9c
Signed-off-by: Integral <integral@member.fsf.org>
---
M src/arch/arm/armv7/exception.c
1 file changed, 8 insertions(+), 8 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/82050/1
diff --git a/src/arch/arm/armv7/exception.c b/src/arch/arm/armv7/exception.c
index 799ae02..3f53d15 100644
--- a/src/arch/arm/armv7/exception.c
+++ b/src/arch/arm/armv7/exception.c
@@ -5,16 +5,16 @@
#include <arch/exception.h>
#include <console/console.h>

-uint8_t exception_stack[0x100] __attribute__((aligned(8)));
+uint8_t exception_stack[0x100] __aligned(8);
extern void *exception_stack_end;

-void exception_undefined_instruction(uint32_t *);
-void exception_software_interrupt(uint32_t *);
-void exception_prefetch_abort(uint32_t *);
-void exception_data_abort(uint32_t *);
-void exception_not_used(uint32_t *);
-void exception_irq(uint32_t *);
-void exception_fiq(uint32_t *);
+void exception_undefined_instruction(uint32_t *regs);
+void exception_software_interrupt(uint32_t *regs);
+void exception_prefetch_abort(uint32_t *regs);
+void exception_data_abort(uint32_t *regs);
+void exception_not_used(uint32_t *regs);
+void exception_irq(uint32_t *regs);
+void exception_fiq(uint32_t *regs);

static void dump_stack(uintptr_t addr, size_t bytes)
{

To view, visit change 82050. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I1c5c33fc9210f068ff88c8d981f1a1c739890c9c
Gerrit-Change-Number: 82050
Gerrit-PatchSet: 1
Gerrit-Owner: Integral <integral@member.fsf.org>
Gerrit-MessageType: newchange