From nobody Fri Apr 29 23:12:21 2022 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 A84761ABC34C; Fri, 29 Apr 2022 23:12:22 +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 4KqpD62cp0z3w4p; Fri, 29 Apr 2022 23:12:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651273942; 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=0Mhl/I1yOMR/z5/6A64PmzW0YaJGN/w55YMq50Br7xY=; b=GX5617OxNEADjzzk4GmfiN1wjuL5aYVlgMUJxyqlMDFPZr1aj1G33QQARsKu+UMf7sBgHq oNBA70knZipzezxuffpDg2owMd5LQJqzzgv0pR/rJGuRMwRw5N1+p6LwmAXuTusAO3yqHE iCKCRGJ6ARJiVr6/m9ReGN9B0yI0tvl4TKWMzHfASbIWVYy51xZHUu6LF6ptXYwK4jctMF 1FLvzvZ+Pvmb0vEoDsGHvXWnyTbV5XDirdZjnFU3WybULaMfFr10z479FouKKJJFmAUON2 7OZ/bHrj5ZxrpDIZTZbV3zQGEnz/FtDoi/h5Mz93TcgdaxNgC4y8cQwo6h4QXA== 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 A9B4915FB6; Fri, 29 Apr 2022 23:12:21 +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 23TNCL8W044541; Fri, 29 Apr 2022 23:12:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23TNCLkw044540; Fri, 29 Apr 2022 23:12:21 GMT (envelope-from git) Date: Fri, 29 Apr 2022 23:12:21 GMT Message-Id: <202204292312.23TNCLkw044540@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: b77f4559d5c2 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: b77f4559d5c2ef9aa03da9610f7334bceb001db3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651273942; 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=0Mhl/I1yOMR/z5/6A64PmzW0YaJGN/w55YMq50Br7xY=; b=oP8oy1rtTCp5lC93IGrKho572vlCHXt4OsMAjIDJs7hKYccJ2eJPPofrXrnqC282yXBJHO QpgUROhPFuyq6dcL2sRkYrmCAzcTe6LvyExk6zn74mnvbDihM/WVhOtFejdSg8hHTUaT/8 u4pIdBAl+wW8eG20fgx3PqQh700f3d3LMHbCWEz0S0k3VBlss0NqDC1nkqSZTJdPg5/og/ mI9SHkWRbP9X96S4AK+ILGhRmPzjm14HtqsiiREAaq9tM7OGU1mHZItbaAGWS+1X0p89EQ FizvYnsGZv5q6m2ohvGkJesHS8Ag/RQhhVmVTk+TQDKTol074z04kTO4Qpz2Fg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651273942; a=rsa-sha256; cv=none; b=BFwwi3oy3jdyM09g5VkamcPZTFyOvKG/V0q/7D51AKI7v0FICOivtcFpNAoenXinGbEmTH VlOaUbnUdt1/kUsxp4dVMyW6aNtH8tkRmhejR53kjvHKC0xIfPYOyvYrTdQksJ/cz/v+jY Zf/TZyTfDRctJ4fiDX061Chfts3CMAFbU14eFWcrvuiXxo+RKgmrFvVY0W/049rzrQ5PBD XoeflSPRSqJWkkDtb/iiizh83oQNr4E0ZUT/OYsWuHzhVFHeQO04tg1gJP0X2nYoXeD5JW yravEuVIEFCYitjGjJbZEDXS6qGg1ltYhZuYhjf+EziIOvyyTBTJ8iBcOhotjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=b77f4559d5c2ef9aa03da9610f7334bceb001db3 commit b77f4559d5c2ef9aa03da9610f7334bceb001db3 Author: John Baldwin AuthorDate: 2021-12-22 23:23:45 +0000 Commit: John Baldwin CommitDate: 2022-04-29 21:16:55 +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 (cherry picked from commit fa255ab1b895b4a1641206e7906086aab32b1adb) --- 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