From e3bdb63c4dc13d1b4baac0294e8013a29b9c75bb Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 12 Jul 2016 10:55:31 +0200 Subject: gc_hal_kernel_platform_imx6q14.c: silence compiler warning drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c:457:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if(Args->physSize == 0) ^~ drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c:460:5: note: ...this statement, but the latter is misleadingly indented as if it return gcvSTATUS_OK; ^~~~~~ Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- .../linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c index df7bc8cd532b..33a1215f1dba 100644 --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c @@ -454,8 +454,8 @@ gckPLATFORM_AdjustParam( Args->gpu3DMinClock = initgpu3DMinClock; - if(Args->physSize == 0) - Args->physSize = 0x80000000; + if(Args->physSize == 0) + Args->physSize = 0x80000000; return gcvSTATUS_OK; } -- cgit v1.2.3