Projects
Eulaceura:Factory
dim
_service:obs_scm:backport-Use-warpper-dim_vzall...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backport-Use-warpper-dim_vzalloc-to-avoid-false-warning.patch of Package dim
From b135b54b3d973d8bd63193be377d8ef6b1bb0ea5 Mon Sep 17 00:00:00 2001 From: Huaxin Lu <luhuaxin1@huawei.com> Date: Tue, 20 Feb 2024 12:49:42 +0800 Subject: [PATCH 23/26] Use warpper dim_vzalloc to avoid false warning --- src/core/tasks/dim_core_measure_kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tasks/dim_core_measure_kernel.c b/src/core/tasks/dim_core_measure_kernel.c index 077f30a..dbf0dfe 100644 --- a/src/core/tasks/dim_core_measure_kernel.c +++ b/src/core/tasks/dim_core_measure_kernel.c @@ -31,7 +31,7 @@ static int sort_jump_table(struct jump_entry *sjump, unsigned int i; unsigned long *buf = NULL; - buf = vzalloc(sizeof(unsigned long) * jump_counts); + buf = dim_vzalloc(sizeof(unsigned long) * jump_counts); if (buf == NULL) return -ENOMEM; -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2