Skip to contentSkip to conversation

Patch "[PATCH 047/135] cxl: fix build for GCC 4.6.x" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Sep 9, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

    [PATCH 047/135] cxl: fix build for GCC 4.6.x

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     0047-cxl-fix-build-for-GCC-4.6.x.patch

and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 97da3d4e080bd62b8e81fcad0bfb821e35be8f31 Mon Sep 17 00:00:00 2001

From: Brian Norris <[email protected]>
Date: Fri, 8 Jan 2016 10:30:09 -0800
Subject: [PATCH 047/135] cxl: fix build for GCC 4.6.x

[ Upstream commit aa09545589ceeff884421d8eb38d04963190afbe ]

GCC 4.6.3 does not support -Wno-unused-const-variable. Instead, use the kbuild infrastructure that checks if this options exists.

Fixes 2cd55c68c0a4 ("cxl: Fix build failure due to -Wunused-variable behaviour change")
---
 drivers/misc/cxl/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/cxl/Makefile +1 -1
@@ -1,4 +1,4 @@
-ccflags-y := -Werror -Wno-unused-const-variable
+ccflags-y := -Werror $(call cc-disable-warning, unused-const-variable)
 
 cxl-y				+= main.o file.o irq.o fault.o native.o
 cxl-y				+= context.o sysfs.o debugfs.o pci.o trace.o

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/0047-cxl-fix-build-for-GCC-4.6.x.patch