sun4u/unix: this 'if' clause does not guard
Build error on SPARC:
../../sun4/os/cpu_states.c: In function 'abort_sequence_enter': ../../sun4/os/cpu_states.c:188:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!on_intr && auditing) ^~ ../../sun4/os/cpu_states.c:190:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' (*abort_seq_handler)(msg); ^ cc1: all warnings being treated as errors
Testing done: I have this fix part of tree I use to build gate on SPARC, the build is used to run the ldom on T4-1, which is my build host.
Updated by Electric Monk almost 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 2a93e0bc6b60286283274376cae765bed0c59594 Author: Toomas Soome <firstname.lastname@example.org> Date: 2020-05-31T17:55:13.000Z 12808 sun4u/unix: this 'if' clause does not guard Reviewed by: Andrew Stormont <email@example.com> Reviewed by: Peter Tribble <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>