From patchwork Tue Oct 8 10:23:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179289 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 0282215AB for ; Tue, 8 Oct 2019 10:23:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D982E2070B for ; Tue, 8 Oct 2019 10:23:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D982E2070B 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 1470A8E0005; Tue, 8 Oct 2019 06:23:16 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 0D1548E0003; Tue, 8 Oct 2019 06:23:16 -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 F00E58E0005; Tue, 8 Oct 2019 06:23:15 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0110.hostedemail.com [216.40.44.110]) by kanga.kvack.org (Postfix) with ESMTP id C7FED8E0003 for ; Tue, 8 Oct 2019 06:23:15 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 6D8FC181AC9C4 for ; Tue, 8 Oct 2019 10:23:15 +0000 (UTC) X-FDA: 76020229950.11.ocean60_1c5ca3be9d721 X-Spam-Summary: 2,0,0,7e4a13dc32186747,d41d8cd98f00b204,ben@codethink.co.uk,:linux-kernel@vger.kernel.org::linux-kernel@lists.codethink.co.uk:ben.dooks@codethink.co.uk,RULES_HIT:41:334:355:368:369:379:541:800:960:988:989:1260:1311:1314:1345:1437:1515:1534:1539:1567:1711:1714:1730:1747:1777:1792:2194:2199:2393:2559:2562:3138:3139:3140:3141:3142:3865:3867:3870:3871:3872:4321:5007:6261:7652:10004:11026:11473:11658:11914:12297:12517:12519:12555:12895:13069:13161:13229:13311:13357:13894:14181:14384:14394:14571:14721:21080:21451:21627:30054:30089,0,RBL:176.9.8.82:@codethink.co.uk:.lbl8.mailshell.net-62.14.6.100 64.201.201.201,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:25,LUA_SUMMARY:none X-HE-Tag: ocean60_1c5ca3be9d721 X-Filterd-Recvd-Size: 1656 Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Tue, 8 Oct 2019 10:23:14 +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 1iHme8-0005Dv-Pg; Tue, 08 Oct 2019 11:23:12 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHme8-0006cx-9g; Tue, 08 Oct 2019 11:23:12 +0100 From: Ben Dooks To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-kernel@lists.codethink.co.uk, Ben Dooks Subject: [PATCH] mm: include for generic_file_vm_ops definition Date: Tue, 8 Oct 2019 11:23:11 +0100 Message-Id: <20191008102311.25432-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: The generic_file_vm_ops is defined in so include it to fix the following warning: mm/filemap.c:2717:35: warning: symbol 'generic_file_vm_ops' was not declared. Should it be static? Signed-off0-by: Ben Dooks --- mm/filemap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/filemap.c b/mm/filemap.c index 1146fcfa3215..85b7d087eb45 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -40,6 +40,7 @@ #include #include #include +#include #include "internal.h" #define CREATE_TRACE_POINTS