[Openpvrsgx-devgroup] [PATCH] staging: pvr: Fix fallthrough compile warning

Tony Lindgren tony at atomide.com
Sun Nov 10 21:01:56 CET 2019


Fix warning: this statement may fall through

Signed-off-by: Tony Lindgren <tony at atomide.com>
---
 .../1.14.3699939/eurasia_km/services4/srvkm/common/devicemem.c   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/pvr/1.14.3699939/eurasia_km/services4/srvkm/common/devicemem.c b/drivers/staging/pvr/1.14.3699939/eurasia_km/services4/srvkm/common/devicemem.c
--- a/drivers/staging/pvr/1.14.3699939/eurasia_km/services4/srvkm/common/devicemem.c
+++ b/drivers/staging/pvr/1.14.3699939/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);
+				/* Fall through */
 			case PVRSRV_MEMTYPE_DEVICE:
 			case PVRSRV_MEMTYPE_DEVICECLASS:
 #if defined(SUPPORT_ION)
-- 
2.23.0


More information about the openpvrsgx-devgroup mailing list