Date: Sat, 19 Mar 2022 00:31:44 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: c457983b9613 - stable/12 - x86: Correctly report unexpected cache level Message-ID: <202203190031.22J0ViGP006370@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=c457983b9613de2c808bc1157c35e0d7e2305aee commit c457983b9613de2c808bc1157c35e0d7e2305aee Author: Zhenlei Huang <zlei.huang@gmail.com> AuthorDate: 2022-03-16 20:28:58 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-03-19 00:31:29 +0000 x86: Correctly report unexpected cache level Reviewed by: rpokala, emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34577 (cherry picked from commit ba46c6c4b7fa76d9283294cb6d9ebadbd95f67ca) --- sys/x86/x86/mp_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c index 57cea8c7a07a..55fe86a03089 100644 --- a/sys/x86/x86/mp_x86.c +++ b/sys/x86/x86/mp_x86.c @@ -200,7 +200,7 @@ add_deterministic_cache(int type, int level, int share_count) if (type == 2) /* ignore instruction cache */ return (1); if (level == 0 || level > MAX_CACHE_LEVELS) { - printf("unexpected cache level %d\n", type); + printf("unexpected cache level %d\n", level); return (1); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203190031.22J0ViGP006370>