From owner-dev-commits-src-all@freebsd.org Thu Jan 21 23:20:57 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF00C4E3435; Thu, 21 Jan 2021 23:20:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DMJKf63Wvz3LQd; Thu, 21 Jan 2021 23:20:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2770B14C9B; Thu, 21 Jan 2021 23:20:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 10LNKqC2071903; Thu, 21 Jan 2021 23:20:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10LNKqh2071902; Thu, 21 Jan 2021 23:20:52 GMT (envelope-from git) Date: Thu, 21 Jan 2021 23:20:52 GMT Message-Id: <202101212320.10LNKqh2071902@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Marius Strobl Subject: git: 679e4cdabdc5 - main - kvprintf(9): add missing FALLTHROUGH MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: marius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 23:20:58 -0000 The branch main has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef commit 679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef Author: Marius Strobl AuthorDate: 2021-01-21 23:16:37 +0000 Commit: Marius Strobl CommitDate: 2021-01-21 23:18:40 +0000 kvprintf(9): add missing FALLTHROUGH Reported by: Coverity CID: 1005166 --- sys/kern/subr_prf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index b51213a25d0d..bbe95653919f 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -848,6 +848,7 @@ reswitch: switch (ch = (u_char)*fmt++) { goto handle_nosign; case 'X': upper = 1; + /* FALLTHROUGH */ case 'x': base = 16; goto handle_nosign;