* [PATCH] drm/i915: Fix warning in i915_gem_chipset_flush
[not found] <50a4d41c.586VhmwghPuKZbkB%fengguang.wu@intel.com>
@ 2012-11-15 20:06 ` Ben Widawsky
2012-11-16 11:39 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Ben Widawsky @ 2012-11-15 20:06 UTC (permalink / raw)
To: intel-gfx, dri-devel; +Cc: Ben Widawsky
drivers/gpu/drm/i915/i915_drv.h:1545:2: warning: '______f' is static but
declared in inline function 'i915_gem_chipset_flush' which is not static
Reported-by: kbuild test robot <fengguang.wu@intel.com>
dri-devel-Reference: <50a4d41c.586VhmwghPuKZbkB%fengguang.wu@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
drivers/gpu/drm/i915/i915_drv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 4b83e5f..dfb63fb 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1541,7 +1541,7 @@ void i915_gem_init_global_gtt(struct drm_device *dev,
unsigned long end);
int i915_gem_gtt_init(struct drm_device *dev);
void i915_gem_gtt_fini(struct drm_device *dev);
-extern inline void i915_gem_chipset_flush(struct drm_device *dev)
+static inline void i915_gem_chipset_flush(struct drm_device *dev)
{
if (INTEL_INFO(dev)->gen < 6)
intel_gtt_chipset_flush();
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/i915: Fix warning in i915_gem_chipset_flush
2012-11-15 20:06 ` [PATCH] drm/i915: Fix warning in i915_gem_chipset_flush Ben Widawsky
@ 2012-11-16 11:39 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2012-11-16 11:39 UTC (permalink / raw)
To: Ben Widawsky; +Cc: intel-gfx, dri-devel
On Thu, Nov 15, 2012 at 12:06:09PM -0800, Ben Widawsky wrote:
> drivers/gpu/drm/i915/i915_drv.h:1545:2: warning: '______f' is static but
> declared in inline function 'i915_gem_chipset_flush' which is not static
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> dri-devel-Reference: <50a4d41c.586VhmwghPuKZbkB%fengguang.wu@intel.com>
> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-16 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <50a4d41c.586VhmwghPuKZbkB%fengguang.wu@intel.com>
2012-11-15 20:06 ` [PATCH] drm/i915: Fix warning in i915_gem_chipset_flush Ben Widawsky
2012-11-16 11:39 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).