Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EEF46E00AB4; Mon, 16 May 2016 12:26:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.196 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6762FE0093B for ; Mon, 16 May 2016 12:26:32 -0700 (PDT) Received: by mail-qk0-f196.google.com with SMTP id q184so15408998qkf.0 for ; Mon, 16 May 2016 12:26:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:organization; bh=+gOvz9bIejIeWycHHmzSqLNSSU2vG/o1RQdKsRXRZ0c=; b=dLKln5+hrYctZNd3SKt7ZP1GJJB9THaWi2Bg/pgWhK0bPgxUw8VQ3Mgg/3RS5xMwG0 flP+yDhK203XIowOsYKFvy9zd14cm89XNW1PKBUqOkv6j/RQmwqW8flNkkDkwI81Kc7m QWrPjlBvVDNWYGg9RapobqN6KrQP5ASjHdip8L+1iaWH8C9jX0+09Q7q7VSJSMJGi9uj f1u44XHK8cuqIuJ+dF3qcU09Ck9fqThvHHTlHf4cKFJxxaCkHJFOzdw84v3eOdDxo/3U rdHmlx2wyqyOzUv3G5g/DK7+FXRWKTsRHb5xImevmGz33zbrO3AihjQB4biJ0fB7u8bK n2Fw== X-Gm-Message-State: AOPr4FXJLCGu8vc2Lz31o8PwZvhyt5vuNQkjrgEZ9BGgbtiHxUl8UTjaJ5lxuLUypfvS5Q== X-Received: by 10.55.182.69 with SMTP id g66mr33438931qkf.186.1463426792037; Mon, 16 May 2016 12:26:32 -0700 (PDT) Received: from localhost ([187.23.154.250]) by smtp.gmail.com with ESMTPSA id f83sm15461616qkb.25.2016.05.16.12.26.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 May 2016 12:26:30 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Mon, 16 May 2016 16:26:24 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Mon, 16 May 2016 16:25:34 -0300 Message-Id: <1463426735-12429-7-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1463426735-12429-1-git-send-email-otavio@ossystems.com.br> References: <1463426735-12429-1-git-send-email-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [meta-fsl-arm PATCH 7/8] kernel-module-imx-gpu-viv: Fix gcc 6 build error -Werror=misleading-indentation X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 19:26:48 -0000 From: Tom Hochstein Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador --- ...build-error-Werror-misleading-indentation.patch | 30 ++++++++++++++++++++++ .../kernel-module-imx-gpu-viv_5.0.11.p8.3+fslc.bb | 3 ++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/0001-Fix-gcc-6-build-error-Werror-misleading-indentation.patch diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/0001-Fix-gcc-6-build-error-Werror-misleading-indentation.patch b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/0001-Fix-gcc-6-build-error-Werror-misleading-indentation.patch new file mode 100644 index 0000000..75a1f56 --- /dev/null +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/0001-Fix-gcc-6-build-error-Werror-misleading-indentation.patch @@ -0,0 +1,30 @@ +From 7e232c0ebb30cb4f99f941daaccb610df0a11cbe Mon Sep 17 00:00:00 2001 +From: Tom Hochstein +Date: Mon, 16 May 2016 11:30:35 -0500 +Subject: [PATCH] Fix gcc 6 build error -Werror=misleading-indentation + +Upstream-Status: Backport [internal release] + +Signed-off-by: Tom Hochstein +--- + .../linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c b/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c +index e436ada..f8d7233 100644 +--- a/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c ++++ b/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c +@@ -475,8 +475,8 @@ gckPLATFORM_AdjustParam( + + Args->gpu3DMinClock = initgpu3DMinClock; + +- if(Args->physSize == 0) +- Args->physSize = 0x80000000; ++ if (Args->physSize == 0) ++ Args->physSize = 0x80000000; + + return gcvSTATUS_OK; + } +-- +1.9.1 + diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p8.3+fslc.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p8.3+fslc.bb index 34cf5d2..af82a45 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p8.3+fslc.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p8.3+fslc.bb @@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" PV .= "+git${SRCPV}" SRCREV = "c5473a84cfa44870a8016c7f684d46abcd36a018" -SRC_URI = "git://github.com/Freescale/kernel-module-imx-gpu-viv.git;protocol=https" +SRC_URI = "git://github.com/Freescale/kernel-module-imx-gpu-viv.git;protocol=https \ + file://0001-Fix-gcc-6-build-error-Werror-misleading-indentation.patch" S = "${WORKDIR}/git" -- 2.8.2