From nobody Sat Sep 21 03:15:08 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1705583878; cv=none; d=zohomail.com; s=zohoarc; b=F4BVwr8EqixrS7xEZea3kOKinselE/nlIvCWIP3G3woija4HU3iQLKAR4OKEO+ITXoxX2bpkQ6jyz0WzPadgHH8pI9g+ewFrPDx0nHz/vV+a21V/phKfFz3VdRSTPfCKCjWCXBnafFtiOCEIh8oTXQ4wedKvYYAng4i1W7T1bT0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705583878; h=Content-Transfer-Encoding:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=jXuzdDHoDfS1SMEKlLWllgS9IfT5ukyEOa75Rlj3kHM=; b=ghKsQ+0CKmC7Ymd7zhZ8zz19FOHLrUZxJdmYV/+DfmL4lpqKFfkUWHYua3Uy0bjcOkDe6aE++1BfLf1LyZULHyyb3GzVtRQ/+H886+7sSVyKh6viQGVEeHu1e/QbwfovcHmxw9uYOqHOWG6iHdy1aZ9r0k8etTzVn9AToArtoH0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705583878701363.6051345035364; Thu, 18 Jan 2024 05:17:58 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQSGO-0005XH-5d; Thu, 18 Jan 2024 08:16:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQSGM-0005W8-HG for qemu-devel@nongnu.org; Thu, 18 Jan 2024 08:16:54 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQSGK-0004DO-OX for qemu-devel@nongnu.org; Thu, 18 Jan 2024 08:16:54 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40e88012233so21280545e9.0 for ; Thu, 18 Jan 2024 05:16:52 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id jg1-20020a05600ca00100b0040d4e1393dcsm29277526wmb.20.2024.01.18.05.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 05:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705583811; x=1706188611; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=jXuzdDHoDfS1SMEKlLWllgS9IfT5ukyEOa75Rlj3kHM=; b=jqM5mk4oUYoH2mUbwftBX2mwWocmhWGwIVSpSUkESYHgyOWoKoeUIeIHA4pZd1Eq+o /7Y9jRTX/tZ8tgGGQuGb+0QsImSC4iDfzgZs/1SJ8MGVLPoNLTwyuca0mjqdCjfQz45w pmY0xDa922Shme+9cLL6HI1C1K6rN68eBeJrT/zSUePnZN2BkCbbcORcawgN/9379qZJ mf3PlnyKX8nxR6Lrw+ODk3vun/UJyl9g5Cs17yuQXp3rljFtmWBdUSJ9gzPkA7k5EfpJ flvXgOclSDmqyEV84OWDgOU86hP2o5MBP+gLEnw+ij0/FMZHrf+tptEP3c4xZYLRymZ0 x/dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705583811; x=1706188611; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jXuzdDHoDfS1SMEKlLWllgS9IfT5ukyEOa75Rlj3kHM=; b=EyeW2TJLNTUFDlOR70VZ0swzqoCU1iyxhV3p/QkY1T8OcdyTuWIkC+vkHwWK0JhMKO GRXf+JpecK23aaTQVGz07GL2/Vz/NJZBFF1LpkcTAc7uvWFw1h1MvAnGbWafMhDaqvE1 GOIXNLl6z8iFjcFNlsqO5z+s0x2s7mLZBwkiQ24wqVLrB3cttTHimS48MOx9fEradPiF +iyezRMdEtpYWNKMcRIVCyR+WsbyYwRNfdlirBohl+ObIyJaYVaDGcGmU2cOaK45aEWp 2HFfUctwjWFFnwhCspfrFrLOJ/yRcSTer/AXsjfVj7PeHZ4ORKsg+z7gUCwKNciFeES/ 1Gvg== X-Gm-Message-State: AOJu0YyCqkxVbjtD2KnBOGfKApx560p7nh2VEoK3uEeUDgX/RDWwrCHm LuLJSGVVrytnjtStzzFZFKt0tvmir0K46rmFD0HkCl/aj1M0tR3CiXCDMmrjS+I= X-Google-Smtp-Source: AGHT+IGM5F4tD+gs6ObnZe+CFxDRs6dZGEByR8TOaigtPce4iDJmN2HKgjGb8Zk47XE2D/Ian8+RmQ== X-Received: by 2002:a7b:c392:0:b0:40e:6a93:1c42 with SMTP id s18-20020a7bc392000000b0040e6a931c42mr534135wmj.26.1705583811035; Thu, 18 Jan 2024 05:16:51 -0800 (PST) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH] hw/arm/virt.c: Remove newline from error_report() string Date: Thu, 18 Jan 2024 13:16:49 +0000 Message-Id: <20240118131649.2726375-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1705583880609100001 Content-Type: text/plain; charset="utf-8" error_report() strings should not include trailing newlines; remove the newline from the error we print when devices won't fit into the address space of the CPU. This commit also fixes the accidental hardcoded tabs that were in this line, since we have to touch the line anyway. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/virt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 2793121cb41..da6cea30534 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1771,8 +1771,8 @@ static void virt_set_memmap(VirtMachineState *vms, in= t pa_bits) /* Base address of the high IO region */ memtop =3D base =3D device_memory_base + ROUND_UP(device_memory_size, = GiB); if (memtop > BIT_ULL(pa_bits)) { - error_report("Addressing limited to %d bits, but memory exceeds it by= %llu bytes\n", - pa_bits, memtop - BIT_ULL(pa_bits)); + error_report("Addressing limited to %d bits, but memory exceeds it= by %llu bytes", + pa_bits, memtop - BIT_ULL(pa_bits)); exit(EXIT_FAILURE); } if (base < device_memory_base) { --=20 2.34.1