Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp229928pxx; Thu, 29 Oct 2020 00:45:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO4HdK6N1bsmSf12HlKBk44kPQ2voXPRHzMDqDU+RCqaBya6oL+SH/7UUjDvq/btM6DHF/ X-Received: by 2002:a50:decd:: with SMTP id d13mr2724007edl.202.1603957529072; Thu, 29 Oct 2020 00:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603957529; cv=none; d=google.com; s=arc-20160816; b=ZerF49aJhBhOVGgGJYZ9KVqx5CSKZo8B5/NAP09g/pDHvWE7mFOEixznurWYugAp9U rG4rBx/6uIPur7ncM78OsmQGoPvQTODX/2PEkyg6f+//qEl2sb4Q4ww/25KtuIcHIoxm TlR8H3uvCzxl9EXl49hL7RQ67CvTSESZHahYpvlj/k3DC8D8rgpn7h9XvvISwQwwmAf/ hAGMD9uAJikzsQPuhu3pGmiQx/HtXqGd10T97HIgqfaYLdRePrVwrmxrpa+kFimPZmqm 2jsciol5GLrX8x+eNByK/q3PrcsHgtT3xLl0QAg/ByigIb04CzBMjD3ZH1frH3Ym8WuS Xzsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=unT3mc6zP0FpMsbdvcPHL8e63JW5Qopc0QBK96QvAxE=; b=GIkJg7Qzp7xnhqs+7lpV9rbXJDI7t6PCeuNvcBFWamFVjWEyxXAEop7T6xrgvFoBHy FxxK4kmS9WbLuGIsHMPr+w+3lwS6HDwlPswayukhTHdJFf2GfAbythWWbqblGHPWbAxO ttMspQ3uDoUGcZK7jMaej+BUXpfyGmri+PGLteh04IrkAPL92RiY8ZB+cZaT3E0QeAQS JWnee5IWfvj8/T+FziibuzihJezKpuTBN1fqflbbSlOsZyYJdh6mZ3Amlg5bJS4PEVWA N6aHsYzZNC95+77QVWG3qSdtz6/Ouo5b5Btnf0Xr2UKws/HGlHDT26jnQTnjPICgKkHp Fnrw== 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 c17si1331519edv.286.2020.10.29.00.45.07; Thu, 29 Oct 2020 00:45:29 -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 S2388343AbgJ1Wlg (ORCPT + 99 others); Wed, 28 Oct 2020 18:41:36 -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