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/ttm mark case fallthrough to ...



details:   https://anonhg.NetBSD.org/src/rev/5a9ba720d322
branches:  trunk
changeset: 1007279:5a9ba720d322
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Feb 12 20:22:37 2020 +0000

description:
mark case fallthrough to avoid warning

diffstat:

 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 5782a4ee7d19 -r 5a9ba720d322 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c       Wed Feb 12 20:08:31 2020 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c       Wed Feb 12 20:22:37 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo.c,v 1.15 2019/02/02 21:46:27 mrg Exp $  */
+/*     $NetBSD: ttm_bo.c,v 1.16 2020/02/12 20:22:37 jdolecek Exp $     */
 
 /**************************************************************************
  *
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_bo.c,v 1.15 2019/02/02 21:46:27 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo.c,v 1.16 2020/02/12 20:22:37 jdolecek Exp $");
 
 #define pr_fmt(fmt) "[TTM] " fmt
 
@@ -273,6 +273,7 @@
        case ttm_bo_type_device:
                if (zero_alloc)
                        page_flags |= TTM_PAGE_FLAG_ZERO_ALLOC;
+               /* FALLTHROUGH */
        case ttm_bo_type_kernel:
                bo->ttm = bdev->driver->ttm_tt_create(bdev, bo->num_pages << PAGE_SHIFT,
                                                      page_flags, glob->dummy_read_page);



Home | Main Index | Thread Index | Old Index