From 96f21925e74821a10a8c0f5e1faa919db63a0149 Mon Sep 17 00:00:00 2001 From: Joonyoung Shim Date: Thu, 28 Jul 2016 09:58:10 +0900 Subject: [PATCH] ARM: mali400: r4p0_rel0: fix build errors Now occurs below build errors with -Werror=date-time. Remove code using __DATE__ and __TIME__ to fix build errors. drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c: In function 'mali_module_init': drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c:338:71: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time] MALI_DEBUG_PRINT(2, ("Compiled: %s, time: %s.\n", __DATE__, __TIME__)); ^ drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c:338:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time] MALI_DEBUG_PRINT(2, ("Compiled: %s, time: %s.\n", __DATE__, __TIME__)); Change-Id: I3cb0d55619afdffee618b2ae84c9b5c600aae196 Signed-off-by: Joonyoung Shim --- drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c b/drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c index b600244..9669a33 100644 --- a/drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c +++ b/drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c @@ -335,7 +335,6 @@ int mali_module_init(void) int err = 0; MALI_DEBUG_PRINT(2, ("Inserting Mali v%d device driver. \n",_MALI_API_VERSION)); - MALI_DEBUG_PRINT(2, ("Compiled: %s, time: %s.\n", __DATE__, __TIME__)); MALI_DEBUG_PRINT(2, ("Driver revision: %s\n", SVN_REV_STRING)); #if MALI_ENABLE_CPU_CYCLES -- 2.7.4