From patchwork Wed Oct 9 15:11:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11181369 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BFDBC912 for ; Wed, 9 Oct 2019 15:12:00 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A433E2053B for ; Wed, 9 Oct 2019 15:12:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A433E2053B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D248E8E0006; Wed, 9 Oct 2019 11:11:59 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id CD4668E0003; Wed, 9 Oct 2019 11:11:59 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C115D8E0006; Wed, 9 Oct 2019 11:11:59 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0078.hostedemail.com [216.40.44.78]) by kanga.kvack.org (Postfix) with ESMTP id 995CC8E0003 for ; Wed, 9 Oct 2019 11:11:59 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 3521F181AC9AE for ; Wed, 9 Oct 2019 15:11:59 +0000 (UTC) X-FDA: 76024586358.03.cough41_85ab229c3d455 X-Spam-Summary: 2,0,0,b2e0cba263d504d7,d41d8cd98f00b204,ben@codethink.co.uk,:linux-kernel@lists.codethink.co.uk:ben.dooks@codethink.co.uk::linux-kernel@vger.kernel.org,RULES_HIT:41:334:355:368:369:379:541:800:960:973:988:989:1260:1311:1314:1345:1437:1515:1534:1539:1567:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3865:3866:3867:3872:4321:5007:6261:7652:10004:11026:11232:11658:11914:12114:12297:12438:12517:12519:12555:12679:12895:13069:13311:13357:13846:13894:14181:14384:14394:14571:14721:21080:21451:21627:30054:30089,0,RBL:error,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:26,LUA_SUMMARY:none X-HE-Tag: cough41_85ab229c3d455 X-Filterd-Recvd-Size: 1756 Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) by imf17.hostedemail.com (Postfix) with ESMTP for ; Wed, 9 Oct 2019 15:11:58 +0000 (UTC) Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iIDd6-00021H-PU; Wed, 09 Oct 2019 16:11:56 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iIDd6-0007EY-AD; Wed, 09 Oct 2019 16:11:56 +0100 From: Ben Dooks To: linux-kernel@lists.codethink.co.uk Cc: Ben Dooks , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: include for is_vma_temporary_stack Date: Wed, 9 Oct 2019 16:11:55 +0100 Message-Id: <20191009151155.27763-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Include for the definition of is_vma_temporary_stack to fix the following sparse warning: mm/rmap.c:1673:6: warning: symbol 'is_vma_temporary_stack' was not declared. Should it be static? Signed-off-by: Ben Dooks Reviewed-by: Qian Cai --- Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org --- mm/rmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/rmap.c b/mm/rmap.c index d9a23bb773bf..0c7b2a9400d4 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include