From patchwork Wed Mar 20 20:15:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10862587 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B1D213B5 for ; Wed, 20 Mar 2019 20:15:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32D4929755 for ; Wed, 20 Mar 2019 20:15:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2718429CDA; Wed, 20 Mar 2019 20:15:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B46EE29755 for ; Wed, 20 Mar 2019 20:15:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727421AbfCTUPI (ORCPT ); Wed, 20 Mar 2019 16:15:08 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:41808 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726403AbfCTUPI (ORCPT ); Wed, 20 Mar 2019 16:15:08 -0400 Received: by mail-pf1-f196.google.com with SMTP id d25so2702275pfn.8 for ; Wed, 20 Mar 2019 13:15:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PBr9JQsijSEgbmcFXvVnHlK/O1mbMgcP30YAv593lmg=; b=sVpcujTTJg5iCuDVcME5g/OrdnGXifBrb8coM4cnkPg/uoaX6YzDiBFkpjLo3iBU5e YGFzCT3vjf5wq9Tu0HpmlJTzSamiO6dru97ivtA/BSPEA5Px3vBciZEg8WHi7ovKxEbU VA9DbfJ8AVV+LD97RaFdvroIRip9KmXdb2Ax9q9dzyOIa8H7bVggSfLHKOGsz5DXhNJh KwQKTGYsocvuN8hqJBy9ee/XMerYdskdn8yEanW3dAPrrL0APvR0stY1/Gh8Hrun2bCG ULHW9OQum0UN+iQ3hcWvLCsYfp7BVR9qgdyH8pCEQ9gO/I/B21VGCAF7IuKoBRZVELaL soEg== X-Gm-Message-State: APjAAAWM0uOYVSAyVrDj5pOfPJvKTca0/zFM4t6YCFI5VV6ZVkOZ9yl4 lvnmSJwMOqjq5EU1LwdGTag= X-Google-Smtp-Source: APXvYqycQLcRjqsrr8b/Fs1lYFqPbUzxm+4B42XAddWrkDmuEaLKhA28QEEQ1VU+zq7KBIeWA9my1Q== X-Received: by 2002:a65:4648:: with SMTP id k8mr9456299pgr.44.1553112907321; Wed, 20 Mar 2019 13:15:07 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id m69sm6312735pfi.151.2019.03.20.13.15.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2019 13:15:06 -0700 (PDT) From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Josef Bacik Subject: [PATCH] blk-iolatency: #include "blk.h" Date: Wed, 20 Mar 2019 13:15:01 -0700 Message-Id: <20190320201501.36751-1-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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