Date: Tue, 12 Jul 2022 17:32:29 GMT From: Doug Moore <dougm@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: bf27b9bc7f5b - stable/13 - vm_phys: convert error back to warning Message-ID: <202207121732.26CHWTJw065464@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=bf27b9bc7f5b33e34007e8fba655d9f7e5128627 commit bf27b9bc7f5b33e34007e8fba655d9f7e5128627 Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2021-12-31 06:23:46 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2022-07-12 16:26:05 +0000 vm_phys: convert error back to warning Move an assignment back to where it was before, to turn the defined-but-not-used error back into a set-but-not-used warning. Fixes: 01e115ab83a4 vm_phys: #include vm_extern (cherry picked from commit e6930b1c5f8f9307f72eda1b5b3c504dc009cbc6) --- sys/vm/vm_phys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c index 51d33d66324f..6798c55cc91c 100644 --- a/sys/vm/vm_phys.c +++ b/sys/vm/vm_phys.c @@ -1646,10 +1646,10 @@ vm_phys_early_alloc(int domain, size_t alloc_size) * the phys_avail selection below. */ biggestsize = 0; + mem_index = 0; mem_start = 0; mem_end = -1; #ifdef NUMA - mem_index = 0; if (mem_affinity != NULL) { for (i = 0;; i++) { size = mem_affinity[i].end - mem_affinity[i].start;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207121732.26CHWTJw065464>