mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-05 02:11:00 +00:00
ti-sgx-ddk-km: suppress implicit fallthrough error in gcc7
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
From 621e02869be9958400fd045e1bb0f4f1d81a6918 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denys@ti.com>
|
||||
Date: Fri, 10 Nov 2017 18:55:26 -0500
|
||||
Subject: [PATCH] srvkm/common/devicemem.c: suppress implicit fallthrough error
|
||||
in gcc7
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
---
|
||||
eurasia_km/services4/srvkm/common/devicemem.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/eurasia_km/services4/srvkm/common/devicemem.c b/eurasia_km/services4/srvkm/common/devicemem.c
|
||||
index baf7c41..c083c63 100644
|
||||
--- a/eurasia_km/services4/srvkm/common/devicemem.c
|
||||
+++ b/eurasia_km/services4/srvkm/common/devicemem.c
|
||||
@@ -1071,6 +1071,7 @@ PVRSRV_ERROR FreeMemCallBackCommon(PVRSRV_KERNEL_MEM_INFO *psMemInfo,
|
||||
case PVRSRV_MEMTYPE_ION:
|
||||
case PVRSRV_MEMTYPE_DMABUF:
|
||||
freeExternal(psMemInfo);
|
||||
+ /* FALLTHRU */
|
||||
case PVRSRV_MEMTYPE_DEVICE:
|
||||
case PVRSRV_MEMTYPE_DEVICECLASS:
|
||||
#if defined(SUPPORT_ION)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -7,7 +7,7 @@ inherit module
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
|
||||
|
||||
MACHINE_KERNEL_PR_append = "m"
|
||||
MACHINE_KERNEL_PR_append = "o"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
@@ -22,7 +22,10 @@ RCONFLICTS_${PN} = "omapdrm-pvr"
|
||||
|
||||
BRANCH = "ti-img-sgx/${PV}/k4.9"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
|
||||
file://0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "0086977380d3320d70a3abc78b95fa0641427073"
|
||||
|
||||
Reference in New Issue
Block a user