[PATCH 1/5] i-g-t: silence -Winline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In this case, the code already has a comment about the problem. We don't
need to flood the build with this less than useful message.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
 lib/intel_batchbuffer.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 4b0ae42..4dffda7 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -43,6 +43,7 @@ void intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
  * be passed as structs rather than dwords, but that's a little bit of
  * work...
  */
+#pragma GCC diagnostic ignored "-Winline"
 static inline int
 intel_batchbuffer_space(struct intel_batchbuffer *batch)
 {
-- 
1.7.8.3



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux