From nobody Fri Jun 14 17:12:06 2024 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 4W15Rp1hD8z5PBM5; Fri, 14 Jun 2024 17:12:06 +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 4W15Rp1246z40s9; Fri, 14 Jun 2024 17:12:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718385126; 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=dj+h5tXCw17ytnq3r02UomjLAdvCYSrihiaw3GI30/k=; b=OPPS0laJX2bHvp/usbtvUAfZ0h8PabwQXGSLoQCmqZT4YWOw07q8T6a3jrh/WnhRXNSXoY uWfc/TW0LCiIFR0NVqz7fdmE30af+tQTgQNprCY5cfLWFV60/fd+sWgM5Z52KNId4DRgdx L21n9nouLIWHlqfXEXwPdIohTfriZlNe7oZavYP420UVWgzf1BOZXbTJVkCtZwVVL7K1eL uZ1ZYhwMjUD95/EF6vWGKBJc4/tmnJWLfHOJLFiCC1EveAh2r6/jehXeXFM4FsWrZV8B32 VQg7Wuo3V8KbICDSR2pmSufJjd0fp3qmHiaUdpufwly/w7IlCQDnrMWxf21xCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718385126; a=rsa-sha256; cv=none; b=TCZ1YL6c5E3mk4djo8wNwhNClTZHmguEgoP1qIrxQF7pCiPv8eE5Fa6jyPAil6Pfy+19uH Rc+Mw/AjNhGFgnlpcmca6DfJSFaE0aILOL/DvYril84gF881VP4SnztTc7ov8jgTT7uTc9 NpDONh/ER8mBremQK6gKg8DvlNCMSLTxyxdihflyk7iti1KTShGToGfvlKafjUD+qOcjAH j1g21UgfXgWP7Lz06Rf0XEhRPg9WyW/HZ4to33kDqaWayiCRJmCKB8UdYKrLnfpVnXKumY hCCC0VVB4qIDCU2mzZ85zMF3vCqnkDuNaN2SKzYoWhIKDfd/NV5makrQzQlC5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718385126; 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=dj+h5tXCw17ytnq3r02UomjLAdvCYSrihiaw3GI30/k=; b=f8cX3hS3dh6y869W2s5IpnC9kj0s6tGgyXDonz8GWYXtkyQltgNSEZU72uVaec7/ns+D49 ljkLoDoSkktc9O/NpbRyiiug+SU8nKaOl5BFPuFaqrv7C7g7xA5LhHm3ASGgyw01d0fwBv bF6PAdurimTkkrWAnnT56uTzrjepXZzxCyxwg9jHbjxzdYEXfWLyhoddr6rQXHk1+vGD7l fIOBkzgnPDxkE5S5wj8fVK2Gs7pzajUJVfEIY1W8XBqdm788uTeKh7M2vQIuebyZAvLC09 iLUQZ9z3dAkUiWZFIC0cHFD1mlEPZklaNG+J/raALLZ5pUw6t20C0Odyq0MaEg== 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 4W15Rp0dYFzT6P; Fri, 14 Jun 2024 17:12:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45EHC6dc063291; Fri, 14 Jun 2024 17:12:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45EHC6JN063288; Fri, 14 Jun 2024 17:12:06 GMT (envelope-from git) Date: Fri, 14 Jun 2024 17:12:06 GMT Message-Id: <202406141712.45EHC6JN063288@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: cadc9c7db780 - main - boot/efi: Fix warning for non-standard formats when debugging 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cadc9c7db780877396da23f3683a8c69c9b1c01e Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cadc9c7db780877396da23f3683a8c69c9b1c01e commit cadc9c7db780877396da23f3683a8c69c9b1c01e Author: John F. Carr AuthorDate: 2024-06-14 17:06:03 +0000 Commit: Warner Losh CommitDate: 2024-06-14 17:11:05 +0000 boot/efi: Fix warning for non-standard formats when debugging Add -Wno-format for zfs_module and regroup. This fixes warnings when EFI_DEBUG is defined. PR: 279071 Reviewed-by: imp --- stand/efi/boot1/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile index fb1c7d74eec1..607c30f10cf7 100644 --- a/stand/efi/boot1/Makefile +++ b/stand/efi/boot1/Makefile @@ -12,11 +12,12 @@ CFLAGS+= -DEFI_BOOT1 # seems to matter on arm64 where wchar_t defaults to an int instead # of a short. There's no good cast to use here so just ignore the # warnings for now. -CWARNFLAGS.proto.c+= -Wno-format -CWARNFLAGS.boot1.c+= -Wno-format +CWARNFLAGS.proto.c += -Wno-format +CWARNFLAGS.boot1.c += -Wno-format +CWARNFLAGS.ufs_module.c += -Wno-format +CWARNFLAGS.zfs_module.c += -Wno-format # Disable bogus alignment issues -CWARNFLAGS.ufs_module.c += -Wno-format CWARNFLAGS.ufs_module.c += -Wno-cast-align # Disable warnings that are currently incompatible with the zfs boot code