Date: Sat, 29 Feb 2020 14:11:27 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358465 - head/sys/arm64/arm64 Message-ID: <202002291411.01TEBRhd081415@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Feb 29 14:11:27 2020 New Revision: 358465 URL: https://svnweb.freebsd.org/changeset/base/358465 Log: Fix the following -Werror warning from clang 10.0.0: sys/arm64/arm64/identcpu.c:1170:5: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] break; ^ sys/arm64/arm64/identcpu.c:1168:4: note: previous statement is here if (fv[j].desc[0] != '\0') ^ The break should be after the if statement, indented one level less. MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D23871 Modified: head/sys/arm64/arm64/identcpu.c Modified: head/sys/arm64/arm64/identcpu.c ============================================================================== --- head/sys/arm64/arm64/identcpu.c Sat Feb 29 13:25:38 2020 (r358464) +++ head/sys/arm64/arm64/identcpu.c Sat Feb 29 14:11:27 2020 (r358465) @@ -1167,7 +1167,7 @@ print_id_fields(struct sbuf *sb, uint64_t reg, void *a if (fv[j].desc[0] != '\0') sbuf_printf(sb, "%s%s", SEP_STR, fv[j].desc); - break; + break; } if (fv[j].desc == NULL) sbuf_printf(sb, "%sUnknown %s(%x)", SEP_STR,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002291411.01TEBRhd081415>