Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp946206ybt; Tue, 7 Jul 2020 04:14:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8Hka6B0RtphwRdQK5tSuSImOBWNgarEM3imWTIUhJ4AUnHhsVytp/kRki1ce0QbWNFq1a X-Received: by 2002:a05:6402:1ef:: with SMTP id i15mr42858812edy.378.1594120478020; Tue, 07 Jul 2020 04:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594120478; cv=none; d=google.com; s=arc-20160816; b=WmycJZBIWHoStepaFi8kQuhR3OIWgbSN9kR/iiyNUS51UBceaeIfYmUZ/CjO07INb6 bEuIvyKgHn6IAba0LGNyGW8/2THonMdWicoyPFn9ZclaPSX9A2xjn2ttT/s/u+qO8+TE sFNcyeJihzULMuEGROgVaKqkd2YUk0l7eELnFNCOQ5upfT7SVWwzwDWY0ZpxDxAEQmDI JyVAkOaKQDeGkZqSG2VTmcHfTAt7DM8DwaH44tvCTWEUbktjO3lLx4MsoA1m8b0Xk27U ujzUtuSeOJolzSzQOuZo0000swNhFlY77s5QeoPL2CrYkSUQJ589Z2FiLBn198g57gNt t3Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=qC69510uD+spQ3r6mV0lgMJlZefJepgK/PewEkiVuwU=; b=oKlecfBrXr/e3qULxrKOQiuUUkCcq66ZFLKDkegKk6PZibHF+3HnZPbUL9QfWpjcp/ /ypYk5dnvuXsiXv6U9wfyFVq3pTd0LE5+Kqwp8JyxVrTYaxJSPZ12cQd5n2BdTiKj0g1 KMf4onVFNQp4Lfk7UCUa73nkTbI2/sa1Ty7wRVJAxt3CpMi7ENYYvsMvjyYSC9Qj+aFW jFLxl+q50a4kIHsFNqNn/9Cb5vcgD6L87JsQoOicS4qHEYTdT/UsSkKua7oXttRlooTP WdrRoILV/5Os1kvOApZm8Xl5W4e6O049UORiNQzKQMgZK52BLDkskKMMMj1wJgAmWaxc atIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si12987917edp.538.2020.07.07.04.14.14; Tue, 07 Jul 2020 04:14:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728137AbgGGLMw (ORCPT + 99 others); Tue, 7 Jul 2020 07:12:52 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:7263 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727827AbgGGLMw (ORCPT ); Tue, 7 Jul 2020 07:12:52 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E970C29AF5D6A67F67A2; Tue, 7 Jul 2020 19:12:50 +0800 (CST) Received: from kernelci-master.huawei.com (10.175.101.6) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Tue, 7 Jul 2020 19:12:43 +0800 From: Wei Yongjun To: Hulk Robot , Andrew Morton , Konstantin Khlebnikov , Michel Lespinasse , Daniel Jordan , "Vlastimil Babka" , Colin Ian King , Kees Cook , Jason Yan CC: Wei Yongjun , Subject: [PATCH -next] lib/test_lockup.c: make symbol 'test_works' static Date: Tue, 7 Jul 2020 19:22:52 +0800 Message-ID: <20200707112252.9047-1-weiyongjun1@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.175.101.6] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse build warning: lib/test_lockup.c:403:1: warning: symbol '__pcpu_scope_test_works' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- lib/test_lockup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_lockup.c b/lib/test_lockup.c index ff26f36d729f..0f81252837b9 100644 --- a/lib/test_lockup.c +++ b/lib/test_lockup.c @@ -400,7 +400,7 @@ static void test_lockup(bool master) test_unlock(master, true); } -DEFINE_PER_CPU(struct work_struct, test_works); +static DEFINE_PER_CPU(struct work_struct, test_works); static void test_work_fn(struct work_struct *work) {