Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/amd/amdgpu Add missing break ...
details: https://anonhg.NetBSD.org/src/rev/09f89ef08b51
branches: trunk
changeset: 449132:09f89ef08b51
user: kamil <kamil%NetBSD.org@localhost>
date: Sat Feb 23 19:36:15 2019 +0000
description:
Add missing break in amdgpu_cz_smc.c
Reviewed by <mrg>
Detected with GCC7 with kUBSan build for NetBSD/i386
diffstat:
sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cz_smc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r b42518b95fe6 -r 09f89ef08b51 sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cz_smc.c
--- a/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cz_smc.c Sat Feb 23 18:07:47 2019 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cz_smc.c Sat Feb 23 19:36:15 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amdgpu_cz_smc.c,v 1.1 2018/08/27 14:10:14 riastradh Exp $ */
+/* $NetBSD: amdgpu_cz_smc.c,v 1.2 2019/02/23 19:36:15 kamil Exp $ */
/*
* Copyright 2014 Advanced Micro Devices, Inc.
@@ -23,7 +23,7 @@
*
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdgpu_cz_smc.c,v 1.1 2018/08/27 14:10:14 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdgpu_cz_smc.c,v 1.2 2019/02/23 19:36:15 kamil Exp $");
#include <linux/firmware.h>
#include <asm/byteorder.h>
@@ -251,6 +251,7 @@
case AMDGPU_UCODE_ID_CP_PFP:
if (adev->smu.fw_flags & AMDGPU_CPPFP_UCODE_LOADED)
return 0;
+ break;
case AMDGPU_UCODE_ID_CP_ME:
if (adev->smu.fw_flags & AMDGPU_CPME_UCODE_LOADED)
return 0;
Home |
Main Index |
Thread Index |
Old Index