Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2053603pxf; Sat, 27 Mar 2021 01:18:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwK1U+fiTAlu3RtkczE9768RSa7yz5Y+tuaiQOTsh9ya1rPdzSOE5PoHlGQHK7g65wYsB1 X-Received: by 2002:a17:907:7799:: with SMTP id ky25mr19166210ejc.217.1616833083887; Sat, 27 Mar 2021 01:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616833083; cv=none; d=google.com; s=arc-20160816; b=K4mEeNpS6yzqRnUBKM2skj12gQWWRvCi0R+k+M9BFHnt0RZ8m/dtKpZzsQW7nscbe/ nAW4SkZK/YN4nAi7OxqklwuTSCwsZiAdx4tfO8WJDtUXvK7jPNV8ZXTTtVl75xaJ41A1 qzIrpXrG+65B3SpY13avIyry176slavju/C9HKeLKB3laFJwysacHZ9GBdDcatwJndD3 QVyMax1fx/ZrpRPKuIVoH0X9sAcTDIrivQPTOR1MoeeGN5aNp/9mJNHNIAFGe8XISTOt eKsFvJCEk6eNIA2l2Vhn9xF3/giJpzp4IrvPzBsK9s9Oi7/A2bOeORfOX6Izom4bay6H s0Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=z+6fNFVj5hD8OU8zmZs3JwgGWcIfxGFFGUWOwnR0W3s=; b=G3SFdR2iDegGLi5sjbVz6bUSHR7ZPxfTC6Wl97l2moRy2Cg4GD0lCtRF4/YLAjWfYl +rdIYuXrxb0CLVT8dUz09Re/KGUdX0sBDl6eNE2c/JeMz/+/Qg5FelIap4GLUcE7d7SU VmFJO1w9Oy8WF4YR12ZLUsTAG1Q+5raissQFXBxkdFKZ+EdMnLS0xAep5B3va5alh49h ew4SqzyP74TiswrtHgnhHjUFRfyTRikXHeoI2uuoVCOnI5Q5AuxbQZwiA0142MfjCiu0 uzNdIVfezCJrSFgMmVFnL+QosHVHsK4UntpoX/tzo1NA9/bjFbV+/VZew5lb2YjmJ0dc TQow== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oq7si9134613ejb.655.2021.03.27.01.17.41; Sat, 27 Mar 2021 01:18:03 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231254AbhC0IAN (ORCPT + 99 others); Sat, 27 Mar 2021 04:00:13 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:15349 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbhC0IAL (ORCPT ); Sat, 27 Mar 2021 04:00:11 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F6rmt1fK3z93yw; Sat, 27 Mar 2021 15:58:06 +0800 (CST) Received: from huawei.com (10.175.113.32) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 16:00:01 +0800 From: Shixin Liu To: Russell King CC: , , , Shixin Liu Subject: [PATCH] arm: kprobes: Make some symbols static Date: Sat, 27 Mar 2021 16:30:21 +0800 Message-ID: <20210327083021.1922640-1-liushixin2@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.32] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These two symbols are not used outside of test-core.c, so we can marks them static. Signed-off-by: Shixin Liu --- arch/arm/probes/kprobes/test-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/probes/kprobes/test-core.c b/arch/arm/probes/kprobes/test-core.c index c562832b8627..171c7076b89f 100644 --- a/arch/arm/probes/kprobes/test-core.c +++ b/arch/arm/probes/kprobes/test-core.c @@ -720,7 +720,7 @@ static const char coverage_register_lookup[16] = { [REG_TYPE_NOSPPCX] = COVERAGE_ANY_REG | COVERAGE_SP, }; -unsigned coverage_start_registers(const struct decode_header *h) +static unsigned coverage_start_registers(const struct decode_header *h) { unsigned regs = 0; int i; -- 2.25.1