[Openpvrsgx-devgroup] [PATCH 2/2] drm: pvrsgx: 1.17.4948957: Fix fallthrough compile warning

Tony Lindgren tony at atomide.com
Sat Oct 23 12:12:06 CEST 2021


Fix fallthrough compile warning.

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

diff --git a/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/common/devicemem.c b/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/common/devicemem.c
--- a/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/common/devicemem.c
+++ b/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/common/devicemem.c
@@ -1088,7 +1088,7 @@ PVRSRV_ERROR FreeMemCallBackCommon(PVRSRV_KERNEL_MEM_INFO *psMemInfo,
 			case PVRSRV_MEMTYPE_ION:
 			case PVRSRV_MEMTYPE_DMABUF:
 				freeExternal(psMemInfo);
-				/* FALLTHRU */
+				fallthrough;
 			case PVRSRV_MEMTYPE_DEVICE:
 			case PVRSRV_MEMTYPE_DEVICECLASS:
 #if defined(SUPPORT_ION)
-- 
2.33.0


More information about the openpvrsgx-devgroup mailing list