From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.3267.1660119112506640530 for ; Wed, 10 Aug 2022 01:11:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fpXxDjmh; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660119110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QIUoqF2XotJV//q0j6MhoVy2XHKHNE4qS1aXsrr83qA=; b=fpXxDjmh9PIqHZSWXCPr6RIfKAMS0kIqgY3xzz3HGd5kzwmRAdWcN4zZ9q5tzpgMZnfR4b ob6U2rKLUPcYw44SIf1mFIG9V75yL2pDr8xc0Axddsu1bmttOkiriW0dMMpT9qNdtZ75eW zXv2giJ7VP4ixO00C67crycmXWGDzBc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-660-bzkanSLeMiaAt3FR66Qnuw-1; Wed, 10 Aug 2022 04:11:49 -0400 X-MC-Unique: bzkanSLeMiaAt3FR66Qnuw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7441485A59A; Wed, 10 Aug 2022 08:11:49 +0000 (UTC) Received: from osteffen-laptop.fritz.box (unknown [10.39.194.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7979A14152E2; Wed, 10 Aug 2022 08:11:47 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Eric Dong , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Rahul Kumar , Ray Ni , Oliver Steffen Subject: [PATCH v1 1/1] OvmfPkg: increase max debug message length to 512 Date: Wed, 10 Aug 2022 10:11:40 +0200 Message-Id: <20220810081140.158578-2-osteffen@redhat.com> In-Reply-To: <20220810081140.158578-1-osteffen@redhat.com> References: <20220810081140.158578-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true From: Laszlo Ersek Increase the maximum line length for debug messages. While log messages should be short, they can still get quite long, for example when printing device paths or config strings in HII routing. 512 chars is an empirically good value. Signed-off-by: Laszlo Ersek Signed-off-by: Oliver Steffen --- OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c index 4e25f198aa76..640627f38b72 100644 --- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c +++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c @@ -21,7 +21,7 @@ // // Define the maximum debug and assert message length that this library supports // -#define MAX_DEBUG_MESSAGE_LENGTH 0x100 +#define MAX_DEBUG_MESSAGE_LENGTH 0x200 // // VA_LIST can not initialize to NULL for all compiler, so we use this to -- 2.37.1