git: ba46c6c4b7fa - main - x86: Correctly report unexpected cache level
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Mar 2022 20:31:00 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ba46c6c4b7fa76d9283294cb6d9ebadbd95f67ca commit ba46c6c4b7fa76d9283294cb6d9ebadbd95f67ca Author: Zhenlei Huang <zlei.huang@gmail.com> AuthorDate: 2022-03-16 20:28:58 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-03-16 20:30:38 +0000 x86: Correctly report unexpected cache level Reviewed by: rpokala, emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34577 --- 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 3b0e25172d0d..8ac5e4b4ddc2 100644 --- a/sys/x86/x86/mp_x86.c +++ b/sys/x86/x86/mp_x86.c @@ -214,7 +214,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); }