summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-07-12 10:55:31 +0200
committerStefan Agner <stefan.agner@toradex.com>2016-07-14 11:22:03 -0700
commite3bdb63c4dc13d1b4baac0294e8013a29b9c75bb (patch)
tree1ce40369777c08f7d8f6fb8bc13791e83dd795ec
parenta2c0ec90da069549155afbd3329ffe3e2de1413b (diff)
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 <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c4
1 files 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 df7bc8c..33a1215 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;
}