Seen with v4.4.232-120-g11806ba5e43a:
Building powerpc:defconfig ... failed drivers/misc/cxl/sysfs.c: In function ‘cxl_sysfs_afu_new_cr’: drivers/misc/cxl/sysfs.c:558:1: error: label ‘err’ defined but not used [-Werror=unused-label]
Guenter
On Tue, Aug 18, 2020 at 08:01:48AM -0700, Guenter Roeck wrote:
Seen with v4.4.232-120-g11806ba5e43a:
Building powerpc:defconfig ... failed drivers/misc/cxl/sysfs.c: In function ‘cxl_sysfs_afu_new_cr’: drivers/misc/cxl/sysfs.c:558:1: error: label ‘err’ defined but not used [-Werror=unused-label]
Build warning stops the build?
Anyway, I've fixed it up now, thanks!
greg k-h
On Tue, Aug 18, 2020 at 05:10:59PM +0200, Greg Kroah-Hartman wrote:
On Tue, Aug 18, 2020 at 08:01:48AM -0700, Guenter Roeck wrote:
Seen with v4.4.232-120-g11806ba5e43a:
Building powerpc:defconfig ... failed drivers/misc/cxl/sysfs.c: In function ‘cxl_sysfs_afu_new_cr’: drivers/misc/cxl/sysfs.c:558:1: error: label ‘err’ defined but not used [-Werror=unused-label]
Build warning stops the build?
Some configurations enable -Werror, in this case with CONFIG_PPC_WERROR=y.
Guenter
linux-stable-mirror@lists.linaro.org