From patchwork Wed Aug 19 08:00:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 11723219 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 95E3A913 for ; Wed, 19 Aug 2020 08:00:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4A1F821741 for ; Wed, 19 Aug 2020 08:00:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="bbDsZCFr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A1F821741 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 81F866B002C; Wed, 19 Aug 2020 04:00:33 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 7CFAE6B0033; Wed, 19 Aug 2020 04:00:33 -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 6E5336B0055; Wed, 19 Aug 2020 04:00:33 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0063.hostedemail.com [216.40.44.63]) by kanga.kvack.org (Postfix) with ESMTP id 55F636B002C for ; Wed, 19 Aug 2020 04:00:33 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 0D260180AD81A for ; Wed, 19 Aug 2020 08:00:33 +0000 (UTC) X-FDA: 77166571146.12.jam38_471166627026 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin12.hostedemail.com (Postfix) with ESMTP id D172B180115D2 for ; Wed, 19 Aug 2020 08:00:32 +0000 (UTC) X-Spam-Summary: 1,0,0,fa486558f4c8c35d,d41d8cd98f00b204,leon@kernel.org,,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1311:1314:1345:1431:1437:1515:1534:1540:1568:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3865:3867:4321:4605:5007:6119:6261:6653:7576:10004:11026:11473:11658:11914:12297:12438:12517:12519:12555:12679:12895:12986:13069:13161:13229:13311:13357:13894:14181:14384:14394:14721:21080:21451:21627:30054:30064,0,RBL:198.145.29.99:@kernel.org:.lbl8.mailshell.net-64.100.201.201 62.2.0.100;04yrgh7q1oriacuwkzoxc7cck1pw5ocr4bwn7qo353eui19duodxucurpcbxo5d.asw8qc6mm1egkakd57fuzfpya68jkcb6umaeo5fx8fr7dtspg1gstj34btp8dth.g-lbl8.mailshell.net-223.238.255.100,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:24,LUA_SUMMARY:none X-HE-Tag: jam38_471166627026 X-Filterd-Recvd-Size: 2116 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf42.hostedemail.com (Postfix) with ESMTP for ; Wed, 19 Aug 2020 08:00:32 +0000 (UTC) Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9C6892067C; Wed, 19 Aug 2020 08:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597824031; bh=UKcRSGUs9osnVCmOgLuXwzMZc326OMLm9uylAeaY14c=; h=From:To:Cc:Subject:Date:From; b=bbDsZCFr7dFcolGF9dkSwppOc+T9hVMu9eYsofS/IysNbLT/0P9uah6LP8JJklxbz XKiIKwvfR1XwyNP133DmpZdYrJNK6IbxsPOZYrx4N1pRCmjkDexfxlrsXnIAKSfxsz Ul7zh0bap4pwhoRfdH0NmnvO8294WmXka7xKjHLE= From: Leon Romanovsky To: Andrew Morton , Jinbum Park , Kees Cook Cc: Leon Romanovsky , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: Fix missing function declaration Date: Wed, 19 Aug 2020 11:00:26 +0300 Message-Id: <20200819080026.918134-1-leon@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: D172B180115D2 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 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: From: Leon Romanovsky The compilation with CONFIG_DEBUG_RODATA_TEST set produces the following warning due to the missing include. mm/rodata_test.c:15:6: warning: no previous prototype for 'rodata_test' [-Wmissing-prototypes] 15 | void rodata_test(void) | ^~~~~~~~~~~ Fixes: 2959a5f726f6 ("mm: add arch-independent testcases for RODATA") Signed-off-by: Leon Romanovsky Reviewed-by: Anshuman Khandual --- mm/rodata_test.c | 1 + 1 file changed, 1 insertion(+) -- 2.26.2 diff --git a/mm/rodata_test.c b/mm/rodata_test.c index 2a99df7beeb3..2613371945b7 100644 --- a/mm/rodata_test.c +++ b/mm/rodata_test.c @@ -7,6 +7,7 @@ */ #define pr_fmt(fmt) "rodata_test: " fmt +#include #include #include