From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46F27C10F0E for ; Thu, 18 Apr 2019 18:11:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1AC1920675 for ; Thu, 18 Apr 2019 18:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555611083; bh=JT5uf5sIs43+d8NPVFkHmLdTMAX44zGr0rMBynbh824=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=KNCj/e/xh4/Rojq7YqWnyPI6jMN0F8lGwsOVin3+AiGDY0MCgc9p9O2cHkSlsj7pP JE7eaQFB7tGoH+FeD//0TYXMSypv6Dfeau5I6f7nuGi3L6SA19LGSd8MOxfPm1QLRx Lvnsp1u3PjehuLn7ELZX3Ybl+YCimyBUCtjIRWfU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391923AbfDRSLW (ORCPT ); Thu, 18 Apr 2019 14:11:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:43546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391915AbfDRSLT (ORCPT ); Thu, 18 Apr 2019 14:11:19 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 83747218AE; Thu, 18 Apr 2019 18:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555611079; bh=JT5uf5sIs43+d8NPVFkHmLdTMAX44zGr0rMBynbh824=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UtfR03AeBdOa4lMHluuFSMb9kq8tHuGmNBmJQ85K8C6gTMy8mk7Du/AF2sNuZI2+j N1MuUgBT6Kh/e/mFY517WC+XnXou4r69nZn7ggLlPEZUcX7FhbS9ud28V224gO5NV3 A8UiPn+On41K9gqFxqVm/ERIUMoQDnIkHGoPnbyU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Josef Bacik , Bart Van Assche , Jens Axboe , Sasha Levin Subject: [PATCH 5.0 51/93] blk-iolatency: #include "blk.h" Date: Thu, 18 Apr 2019 19:57:29 +0200 Message-Id: <20190418160442.860559898@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418160436.781762249@linuxfoundation.org> References: <20190418160436.781762249@linuxfoundation.org> User-Agent: quilt/0.66 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 [ Upstream commit 373e915cd8e84544609eced57a44fbc084f8d60f ] This patch avoids that the following warning is reported when building with W=1: block/blk-iolatency.c:734:5: warning: no previous prototype for 'blk_iolatency_init' [-Wmissing-prototypes] Cc: Josef Bacik Fixes: d70675121546 ("block: introduce blk-iolatency io controller") # v4.19 Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- block/blk-iolatency.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c index 2620baa1f699..507212d75ee2 100644 --- a/block/blk-iolatency.c +++ b/block/blk-iolatency.c @@ -75,6 +75,7 @@ #include #include "blk-rq-qos.h" #include "blk-stat.h" +#include "blk.h" #define DEFAULT_SCALE_COOKIE 1000000U -- 2.19.1