From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 905B7C55179 for ; Wed, 28 Oct 2020 22:41:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B44820878 for ; Wed, 28 Oct 2020 22:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389129AbgJ1Wlh (ORCPT ); Wed, 28 Oct 2020 18:41:37 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6704 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731064AbgJ1Wi6 (ORCPT ); Wed, 28 Oct 2020 18:38:58 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CLg3K54KCzkbVc; Wed, 28 Oct 2020 15:21:01 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Wed, 28 Oct 2020 15:20:50 +0800 From: Zou Wei To: CC: , , Zou Wei Subject: [PATCH -next] mm, page_alloc: Fix old-style function definition Date: Wed, 28 Oct 2020 15:32:48 +0800 Message-ID: <1603870368-104763-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix warning: mm/page_alloc.c:763:6: warning: old-style function definition [-Wold-style-definition] void init_mem_debugging() ^~~~~~~~~~~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Zou Wei --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index f80dc59..470b18d 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -760,7 +760,7 @@ static inline void clear_page_guard(struct zone *zone, struct page *page, * order of appearance. So we need to first gather the full picture of what was * enabled, and then make decisions. */ -void init_mem_debugging() +void init_mem_debugging(void) { if (_init_on_alloc_enabled_early) { if (page_poisoning_enabled()) { -- 2.6.2