From nobody Thu Jan 26 20:27:09 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P2sgy0KTjz3btHs; Thu, 26 Jan 2023 20:27:10 +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 4P2sgx6mB5z3QlQ; Thu, 26 Jan 2023 20:27:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674764830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/eUuaEMMSZlM8//jNIhsLdJzEwbfSeLX62cYYqkY/UI=; b=WVfGQ2B2pDBGW+jagE0PYWviiYatHNJFyaQKf7A7UFGbikQDYClzjNOzpfsGBoGbRDKI8M UL4vw77go04I4YmFxJS1x4RaKOnacaJomsULb4K/T5W2e79EIpZzwkMlFWyrL8qmSwnHJk tVwtx4ij+3AIqcZn22GTyVXPDMahPelbw9Ishe94z40Jg5q3Wg5AM4RluSQ30VhhSexma1 1gN4tiiTHMWeRLXCcQH+BlQrryt239NEMy/WEFD1BIVHfzIGXgls77ux76D12l8e6E+RCf nuIh1U14xmVCUch3wc/qcRL36M+CLrR5bDYBQqeXl3ph8ClgMDFy7ZuOvZHvFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674764830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/eUuaEMMSZlM8//jNIhsLdJzEwbfSeLX62cYYqkY/UI=; b=katXmQunRXBz3mz2oHQ72/MTV+JQgJhMYWWltOlgmcuLcQ3f/0lUWf/s/xXMH3skM3xWME Kb+Cf/W0jccBnzoAv8Y9Zg79URwJwjNYH1A0uWMXwg/wfnzDR0ABe7RnHcZkSQOmIy6xdb UWR+n6jb/HIao4/9O5Z8sQJDl7WO+/BYKZFnKyrLTDJmlqk63ypikuERIBGiY2GuUejEUc ugNnO+4j7gAQyVxWD60KnoWbcNZn9sgThYze2ObW6YiPd3+LVVJJ8A9Vj0MAIgzTJCCpTX c2McB1pNm0Rzh5TcEhbNnq1UWIhCM8oSrPMe8sPKimh0c2y6XXRanDS05gvnrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674764830; a=rsa-sha256; cv=none; b=de3HSwXsgsNqyG4f4Pv+giKDjKJXdo1wGiuXcm0dcjU2p0CM7C/1UodOqAWifQnWA9VNbl c9WBEtqw35bB9VDVnUnIp+YL5u9gn3n+tWbHzp79AWuXhoPXa6KUkm2Z1MtZaWXwNXWv/m chSwFzpT/KpfwQI/TxqUAwELSM4KWeHs0BvfI5Vq9c9Xo3wzmQi+sQDYHDOxg5/9bauInB mRWdUkou6wU/KfliiydfTOrhCYAFVVD57KgrThAXcL2mYLO93wMtRUAuL2GfehjNHkBUTV OGc8RNBOjlLiEN+Jb32pEVHA+hT52u+2j4St2RA3j2teOfY/oXG/WQel7aGJ7Q== 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 4P2sgx5rVBzjXS; Thu, 26 Jan 2023 20:27:09 +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 30QKR9hS064750; Thu, 26 Jan 2023 20:27:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30QKR9Na064749; Thu, 26 Jan 2023 20:27:09 GMT (envelope-from git) Date: Thu, 26 Jan 2023 20:27:09 GMT Message-Id: <202301262027.30QKR9Na064749@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 1348ad12a910 - stable/13 - bhyve: Enable the default compiler warnings List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 1348ad12a910b9507008829becde7fd808d906b1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1348ad12a910b9507008829becde7fd808d906b1 commit 1348ad12a910b9507008829becde7fd808d906b1 Author: Mark Johnston AuthorDate: 2022-11-18 19:10:33 +0000 Commit: John Baldwin CommitDate: 2023-01-26 20:23:02 +0000 bhyve: Enable the default compiler warnings Disable -Wcast-align for now since we have many instances of that warning (I fixed some but not most of them) and platforms on which bhyve runs don't particularly care about unaligned accesses. Reviewed by: corvink Differential Revision: https://reviews.freebsd.org/D37296 (cherry picked from commit 71ebd117386cda6410ca65eb487b63e5dedf3245) --- usr.sbin/bhyve/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index bd78a3362672..a456d507a071 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -132,12 +132,12 @@ CFLAGS+= -DBHYVE_SNAPSHOT CFLAGS+=-DGDB_LOG .endif -WARNS?= 2 - # Disable thread safety analysis since it only finds very simple bugs and # yields many false positives. NO_WTHREAD_SAFETY= +NO_WCAST_ALIGN= + SUBDIR= kbdlayout .include