From patchwork Sat Jan 21 18:19:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 9530561 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A58FF600CA for ; Sat, 21 Jan 2017 18:19:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9715E28452 for ; Sat, 21 Jan 2017 18:19:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89C9028459; Sat, 21 Jan 2017 18:19:56 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E7FCE28452 for ; Sat, 21 Jan 2017 18:19:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 90D716E27A; Sat, 21 Jan 2017 18:19:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0498E6E27A for ; Sat, 21 Jan 2017 18:19:52 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id r144so15077523wme.0 for ; Sat, 21 Jan 2017 10:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OIfMSsVkvdxGb7F/V880ylNh594dm4vEs6KUdx3MC0E=; b=U2F65XV2hPbU7VXcCkiMbS+FiI5ZpmVdtn9ko4NTUB8I6fR6u8djyXGKYZF0FzcCZh iDhw1vXo0rnysCMOKsZEoIPdKgJlLi3m0Yvv64/lhPtZv2dyFwZgiK/LiKEctgIy7mba SxF+jxiRwOOvh4iO0OcGpABJyE9Y7DtVrXqevtwztvyX3IkeKaKp7XjnrRQ4hN1fq+sr YtsUU7iTufE0WfxSDeBiUinx7wb5ExSRE6VGxWq2OIVOjLNVTJjZKEk3HgWEo6le7px1 hdRW5SzLMKSJ1ARH35GEUIAXvq+7bsg3ar4sRjzPnLL5gnH/Odx5vJlhI/oPer69k/dR eTRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=OIfMSsVkvdxGb7F/V880ylNh594dm4vEs6KUdx3MC0E=; b=JCDhexN1CE10NWbTqSLqXblkMi8IDJ+2soUVV6yrV58HG1puxcqjUr/FOBRIpFvqMD klTtzkMP4HWrC90F8l+TBmwUISXYJvZEJ1eGZHfcArJNAk+2SKekhLR/QW/u9moLa48H kNxHUc+16EYYnhmsQLHPgvPYYnGwe2oYP+7JUtSpX1ywI0YaQP8w+K9rBiwsA0yHtcQS 6dYUlhRiwO875f60JXtSEIYozihncV08OKzUoOBEDLI9abYocU5fDpn7fMRz/vz1roPf vu9qzCjd71Ja628nrMDu50JoX7T19EdpAZSAabziD0odbaFFmFzsZjCbXKSdWZhu3tOO JE0w== X-Gm-Message-State: AIkVDXKSdCSyHUqWJy5lKFvnNXnYb7I9VTihaw8QB0uzC4og9awGOOSn6S7KzQaJMbFnsg== X-Received: by 10.223.130.232 with SMTP id 95mr20301321wrc.34.1485022790599; Sat, 21 Jan 2017 10:19:50 -0800 (PST) Received: from haswell.alporthouse.com ([78.156.65.138]) by smtp.gmail.com with ESMTPSA id d29sm5627359wrc.42.2017.01.21.10.19.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jan 2017 10:19:49 -0800 (PST) From: Chris Wilson To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: Update drm_cache.c to pull in the new drm_cache.h Date: Sat, 21 Jan 2017 18:19:44 +0000 Message-Id: <20170121181944.24672-1-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Cc: Alex Deucher , Daniel Vetter , Gabriel Krisman Bertazi X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The prototypes were moved to a new header, but the function definitions were not updated to pull in the declarations. drivers/gpu/drm/drm_cache.c:79:1: warning: no previous prototype for ‘drm_clflush_pages’ [-Wmissing-prototypes] drivers/gpu/drm/drm_cache.c:120:1: warning: no previous prototype for ‘drm_clflush_sg’ [-Wmissing-prototypes] drivers/gpu/drm/drm_cache.c:152:1: warning: no previous prototype for ‘drm_clflush_virt_range’ [-Wmissing-prototypes] Fixes: f9a87bd7d5b6 ("drm: Move drm_clflush prototypes to drm_cache header file") Signed-off-by: Chris Wilson Cc: Gabriel Krisman Bertazi Cc: Alex Deucher Cc: Daniel Vetter Reviewed-by: Gabriel Krisman Bertazi --- drivers/gpu/drm/drm_cache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c index 5066638928ec..c3b9aaccdf42 100644 --- a/drivers/gpu/drm/drm_cache.c +++ b/drivers/gpu/drm/drm_cache.c @@ -29,7 +29,9 @@ */ #include -#include +#include + +#include #if defined(CONFIG_X86) #include