Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1240976imm; Wed, 6 Jun 2018 12:42:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJOP/ELBg8N24iHRZ/GZvIuw1N/1qCpRh1ov+cLFynxCYtFGZ/mY+lUhCWNgdLgEqpBq1pW X-Received: by 2002:a65:6592:: with SMTP id u18-v6mr3617295pgv.366.1528314153948; Wed, 06 Jun 2018 12:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528314153; cv=none; d=google.com; s=arc-20160816; b=T9tVcKTVSU+fBK7Ie950Wu2kFsMD4c6Rr0zR6O0OLU/Te37tEiPdTiyJgLZgktIJF4 T8KN//9hfBjZp6KTzyT9FFUlDX9wT2NYoecZFHFbxj7Fm6OMrAun/G9/hurcT1FGvUzH 2hBlZnweF9vRnFXXbzt2pP+OUihULsHe0jspBuwwOSxx4JRUat6Om0WqHpnZLciIE1+j 00DCOF4TxH6hHCibf7eGtdUfuJspXMeoG1+CKKoQ/1EjvfLacxTaRxKhZxNJ80SEdxMh cTiINO2M280P1S5oxhCPmwwhQLeQrp9jXVwKDKkwD09yMtOWY20cKvveuE4oUnpe4pMZ 2JsA== 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:dkim-signature :arc-authentication-results; bh=oeRlP3rcdQuwngPFalX+oE0mc/udB2Tvy8TL/+tCLLs=; b=tjVf3XqcfCxPMlhIYnzVkt8AjyZRHmnISLbWJ4fJOu3hhz7b58EFbhTFGbE15yonDz Q9SJwnmhia19VNayTnppQtzaBeeN9djq0p6JHNIph6JhqzJkUJr2lllN1RbNG0OM+ISJ XU3it6NmsuTF3IBV/sTJibx+lbyjl/T2D4NQ4xeoMcV8AHKyDClBK1bVjHiF7FXBV5Gd D7gWC08VhUBhPuKEjTOhhZH3QTaKkcQcFFi8cHcjEWPCdM6r4vi5ktetpVMmU1Sw+H65 TzK/tQhMhGjgVu4wV8tNZgv6bBM9F9fNZlDLotleRfa/tOzGG3fMz8hk+owOvaPo/7Gb 1Dag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jLLRjD0C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v14-v6si10477684pfe.149.2018.06.06.12.42.19; Wed, 06 Jun 2018 12:42:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jLLRjD0C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752395AbeFFTlt (ORCPT + 99 others); Wed, 6 Jun 2018 15:41:49 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:37568 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbeFFTls (ORCPT ); Wed, 6 Jun 2018 15:41:48 -0400 Received: by mail-wm0-f67.google.com with SMTP id r125-v6so14080626wmg.2 for ; Wed, 06 Jun 2018 12:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oeRlP3rcdQuwngPFalX+oE0mc/udB2Tvy8TL/+tCLLs=; b=jLLRjD0CSlGmKX7zU8Yk/xTctJRMY798wzyX+gsBi3+Z/Pz8B4v0mlH/brC+TyXDWw msHvRzp8cNvD1mfAs8Lm82aFCoYi/lnoeBjg+of7kfaQVFDVkZub+tgSspBmF/R72oyJ rkrcEMRuv5Qa92jNVE+GbjgzM3u3XVScUcPbYPFXnR7I0p5EFZaq5rKJ3DWY5zNk/WMp gSAFOj6FL7vXE/899FDxtvgavzheyxA7AAr+rRLHhbkuJvvBtxPTajA5dTN+DFmYtHjl 1NjJYxEUse8+V6+FaA6rUq69DzrLlxBDnZxtv1s2Wz8zvAx0zt+GZa/sJem1hZs+/8zf vpGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=oeRlP3rcdQuwngPFalX+oE0mc/udB2Tvy8TL/+tCLLs=; b=DhFV/Ol3Jj2yc4iuHXpfconAPGvVsQjJ1aBN4BnQ15t8Qy3r9QGulyFE4lsv480WO8 gM+GqvC4LSofQAZ6EBk+1Hu8nehJ6RAeP3fmrnWVxlj8S5tsiUZRBNxsi9imEEs4UAQK TIX+l1hUtahmQH3Uhmy4QZ8028AAJR/9Y7sDe3G+YQLGvz0JShZ6uShdz8dSHQ695nKQ CV01LkhjwIBPc3O0gsIrQvzDxrKrGyYpZLG8i3riWY/HCF9NXgeDtrb7HPMHWa6336BV W1DENe+wLQDN+eoTvE6ByjONizXMU86A5AL8vuEbYmDgriyTc8cwUFP02cuYrueYm5+3 cnQw== X-Gm-Message-State: APt69E2vWBY1gtxGIyA8C1PuvBiuKz5QJBSxX/RCC9I2Cj0av2AsSn6k Q3dFeRyahw9qhPCHz9PWNvg= X-Received: by 2002:a1c:4189:: with SMTP id o131-v6mr2477813wma.7.1528314106887; Wed, 06 Jun 2018 12:41:46 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id u108-v6sm65904216wrc.40.2018.06.06.12.41.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 12:41:46 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 59C3410C2B80; Wed, 6 Jun 2018 21:41:45 +0200 (CEST) From: Mathieu Malaterre To: Andrew Morton Cc: Mathieu Malaterre , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm/memblock: add missing include Date: Wed, 6 Jun 2018 21:41:43 +0200 Message-Id: <20180606194144.16990-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 26f09e9b3a06 ("mm/memblock: add memblock memory allocation apis") introduced two new function definitions: ‘memblock_virt_alloc_try_nid_nopanic’ and ‘memblock_virt_alloc_try_nid’. Commit ea1f5f3712af ("mm: define memblock_virt_alloc_try_nid_raw") introduced the following function definition: ‘memblock_virt_alloc_try_nid_raw’ This commit adds an includeof header file to provide the missing function prototypes. Silence the following gcc warning (W=1): mm/memblock.c:1334:15: warning: no previous prototype for ‘memblock_virt_alloc_try_nid_raw’ [-Wmissing-prototypes] mm/memblock.c:1371:15: warning: no previous prototype for ‘memblock_virt_alloc_try_nid_nopanic’ [-Wmissing-prototypes] mm/memblock.c:1407:15: warning: no previous prototype for ‘memblock_virt_alloc_try_nid’ [-Wmissing-prototypes] Signed-off-by: Mathieu Malaterre --- mm/memblock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/memblock.c b/mm/memblock.c index feb9185d391e..c5fb9c846890 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include -- 2.11.0