From 6d8d1eca790f3af7b41bd498f6b0813965611dea Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 8 Apr 2020 14:33:57 +0000 Subject: [PATCH] scst: Use bitmap_parse() instead of __bitmap_parse() (backport r8772 from the trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8853 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_sysfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index 3d6bc0432..bab2baa00 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -2072,10 +2072,10 @@ static ssize_t __scst_acg_cpu_mask_store(struct scst_acg *acg, * We can't use cpumask_parse_user() here, because it expects * buffer in the user space. */ - res = __bitmap_parse(buf, count, 0, cpumask_bits(&work->cpu_mask), - nr_cpumask_bits); + res = bitmap_parse(buf, count, cpumask_bits(&work->cpu_mask), + nr_cpumask_bits); if (res != 0) { - PRINT_ERROR("__bitmap_parse() failed: %d", res); + PRINT_ERROR("bitmap_parse() failed: %d", res); goto out_release; }