From nobody Wed Dec 22 23:28:11 2021 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 B43DA18F8419; Wed, 22 Dec 2021 23:28:11 +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 4JK8dR3YFqz3LNP; Wed, 22 Dec 2021 23:28:11 +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 5B98425E35; Wed, 22 Dec 2021 23:28:11 +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 1BMNSBxv063785; Wed, 22 Dec 2021 23:28:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BMNSBmd063784; Wed, 22 Dec 2021 23:28:11 GMT (envelope-from git) Date: Wed, 22 Dec 2021 23:28:11 GMT Message-Id: <202112222328.1BMNSBmd063784@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: fa255ab1b895 - main - ctld: Disable -Wcast-align 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/main X-Git-Reftype: branch X-Git-Commit: fa255ab1b895b4a1641206e7906086aab32b1adb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640215691; 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=Tv/Jv1vWXXoSSbBfphyBAi3+IzbOS3YMgfqfR18jhNM=; b=IieZ70Iz+NrBpyq8frEedpyeKEuBt1SRdH/nR9G39Vthe/7bcZaj/R4B5xkiH06ROTnJGP Mqh/pU0Rf0HR9M3aPdS6ApeKO/dgt9WVaVufeHS9hwzPjbf4cjq2S3UP7+O/jQjI3fixNA zB/jYIBTdHi7KcVaCaV7mYSRoByrvcD1q0aaauUdqSC8KxfoU27HszxWUyTkMRoW3xTSrV 3Rf71N5FzB2HXsp23UC6+osUvBAqxiMZAkpJIJSThU66DfTphZ7WBtSx7ir8111gwsaaEU 9fLuLQ9/6VxZlTgdJlv3XX407OktG0S8WbJ5wTHfXCCQAr6sYq1vyW21Qf9qqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640215691; a=rsa-sha256; cv=none; b=Y5bapSqjc3nPlmPObhYG+kbulTCWfxigbr9CemPDftiWB0XRaqO9VUaXpCc0ZiXofSBKKy pd47FsiJVdtEndnzfoFJGbzKxmk8T+9RahssBPdya9prw7KT3Tt8LYbORWKoCgzT6LUw8U UIaiKE0U28psd6lBxnQPDXN4BhMYDnqOt8px4KhhSvzJZsOf2ipDEBCI4OiL00zF1tOw4X v4stuPiQ2G03Lwaxg0PD/tHDK1VIDml4VXm7A9zDlox6+I5/ZZ56hikeQtwXPZzKwFpQrX rWNGpKmUWpEJ9rHZINKIpbNGwn1iQg9UGxEA+Wq819sm+gjftZBEQi5rdHyk3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=fa255ab1b895b4a1641206e7906086aab32b1adb commit fa255ab1b895b4a1641206e7906086aab32b1adb Author: John Baldwin AuthorDate: 2021-12-22 23:23:45 +0000 Commit: John Baldwin CommitDate: 2021-12-22 23:23:45 +0000 ctld: Disable -Wcast-align warnings. clang complains about the downcasts from struct connection to struct ctld_connection as the alignment of struct ctld_connection is higher on 32-bit platforms. However, the warning is in this case harmless as the downcasts are on objects originally allocated as instances of struct ctld_connection with suitable alignment. Reported by: npn, gjb Fixes: 6378393308bc Add an internal libiscsiutil library. Sponsored by: Chelsio Communications --- usr.sbin/ctld/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/ctld/Makefile b/usr.sbin/ctld/Makefile index 5f80ba026204..45b9e93be756 100644 --- a/usr.sbin/ctld/Makefile +++ b/usr.sbin/ctld/Makefile @@ -15,6 +15,7 @@ CFLAGS+= -I${SRCTOP}/sys/cam/ctl CFLAGS+= -I${SRCTOP}/sys/dev/iscsi CFLAGS+= -I${SRCTOP}/lib/libiscsiutil #CFLAGS+= -DICL_KERNEL_PROXY +NO_WCAST_ALIGN= MAN= ctld.8 ctl.conf.5 LIBADD= bsdxml iscsiutil md sbuf util ucl m nv