Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2189660pxb; Wed, 9 Feb 2022 12:48:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy22JBpVpuk267z3ieRp0s8lWg0E3VkR5OAvkQ6vFwynT3V9sIGtughtil07ejGWyENx5rC X-Received: by 2002:a17:903:18d:: with SMTP id z13mr4203513plg.49.1644439738149; Wed, 09 Feb 2022 12:48:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644439738; cv=pass; d=google.com; s=arc-20160816; b=tqf1rzBCWLNMwEHhmqzsJOCgqrwDhkjF6js/Hw5PDPJw+GVeYpui8CyzJxVYQ/+Ixu 9OFdgM2xBVaAV6IFVzKoeq496RmRIuPLWvpuBWLVxObdwJ6ZJ79+YJB0z+bBAMhCHw96 UXUGsSYcv3Ktp+milpY/3qjQLrroftKWW9MNUM777fz3yafWvOEydUaF3K9wa/2Lb2UB lADZF3vNugZ7TW/k+LZ8sh1mPAuKtGQZiRpZJM0Qd8mtCfOQ+RxOeyB8Pm4oH8iA9q7z VIDW3UYBBYPgxcIsN51YClFhEeIxcj9obQgrC62KFcXgrao5apLUDkUK9K76MTHTTDv9 NcEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=ZgkuZ8r/VymLdhLJB2PMa9DE7jwyd1kzggyTkOXJs4M=; b=YoQt5o3o6yEyU4tTXBI7tMfPqaofcDEcCan9Yyk6d+3mxvqREIu1ekIM71Gc70Kybw YFTRwXq9B2qYypVVRGub5fYJFAMcp0/oUYNzMyYIa8qHTkjNrkv1+PSpqZzTgcO7J3d+ +4vrd/cZr7j1fxX6V4CiURi8+4W7oGQfoQEQqeSJOHX3R9GgpS/mU+RWK9NjQvKW1ufP W/+J7OLXQX7nLKWOehMqee0ouP4OH2gXsZPZzKZ29NuuQJPgOAX+sfsiMIEx3UfQNSne MtzN04zVvWsy5HVNHVU/ZBdRH9YCku4TDnTmFU5NAn7FxhQJyq6e4yz26UDMD4FSDsof H6Rg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=J10VBaVi; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="yyNZLD/A"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f21si19098949pfe.317.2022.02.09.12.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 12:48:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=J10VBaVi; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="yyNZLD/A"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A42D7E095C74; Wed, 9 Feb 2022 12:12:41 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbiBIT73 (ORCPT + 99 others); Wed, 9 Feb 2022 14:59:29 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:52702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230016AbiBIT7X (ORCPT ); Wed, 9 Feb 2022 14:59:23 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16CE9E06C41B for ; Wed, 9 Feb 2022 11:59:18 -0800 (PST) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 219HQFZo020151; Wed, 9 Feb 2022 19:57:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2021-07-09; bh=ZgkuZ8r/VymLdhLJB2PMa9DE7jwyd1kzggyTkOXJs4M=; b=J10VBaVi9FiJ+cVVOh+xRvssRPodyFrgG+2IUxJni0CICa8l8Cg+I2w3LNftTxUXDaZU uuXFDEc22RByczPGW/by7D2GJU5aJ8cWT/tEG1yaa3TpIPTbhFrYau1R8sFGo1htNe15 b9K/dFFNje6jJItAEsKyOkJAgyJzM5epP7kqZODhIaDLYnbpCSuuNZggfp5Optf2ENnt ofIoU6gCe5ZxwtG6Ul4meHZN05CEPspcdpg/U+9wO6Ffkn5xcMID0+zFYmG3Q/tbk56a qYcNg96XJnvcThIcJnkj2Wa3bYPK5M0jMf9Ixn+6jD96RNH3DP3gXLqIylCkK4o3vEOZ DA== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3e366wxyj8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Feb 2022 19:57:25 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 219JuGjJ095815; Wed, 9 Feb 2022 19:57:24 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174]) by aserp3030.oracle.com with ESMTP id 3e1f9hy63q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Feb 2022 19:57:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZfmZ9JOA+ghOrXXIOR4Q3sZtKS1Cr624GuPBM2RzW2WWb9VGor50Nm/jR4yau3G2VjdkqorkwSOO4rQOOFr5bucbIGq4JXdXHY2nvjfAalQy0CXPQSXJk/hcsnXd6RHFOAzeZzcI2mfRnjMidwYj83k4maYKuP+wxXzFTaXDida1VfgWcd8MDMjxbkAEOU+3mqb+RVh/frF5H5pxRyIax9BtCtdkuPjC7wA0mXnYhBxsrQ6Rj2JNUxGN+retTPC+rTbyWesdpFLibvFp5LNVJDUlfqkJSrP9RwHqs+2cdflVgyXmrNxJVdiO6M+f+VfJziEQKmWg/gZH+9MKK/q4DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZgkuZ8r/VymLdhLJB2PMa9DE7jwyd1kzggyTkOXJs4M=; b=DN5PtjgygjlQ+sUKaFwo8ViceSTJthkrYYlFcFmHozmyr6EM05Le+O6o1lGWBtutglEJS249t9HfhX4FAghWPbb7St0it0FLWnfPK6ymraTXNQVXqahGCC1s+ITvZ219/6bji8ju9FWTtJZTdu1i0/U6cB0HoRyNzK3VE7Yv49nqxo0OptUQI8JONgTP5eue2ysD5/0ZSN/ZcJmfJE+mhsBwFt7mwx1d0lb9g6ycJ9GdxU6VjKnreU4NfU0tu51/e3K0xxgqCdsAHm2YbBSyQQ9ipGBhm+8TIkoh5dytsRFnoMSoOVzncDj/2iwp5Mw9Yx+kXqa+lUT3t4nlJVGfyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZgkuZ8r/VymLdhLJB2PMa9DE7jwyd1kzggyTkOXJs4M=; b=yyNZLD/ArfqNjy+ghqt/8gaNty3n3weJPRkYzC+mML0i8zkhFZWXAJ2jNZ/QiSP/N7FVQS8Tm1om05A0iMH/lvTnGuycZIFTNxm2tu+R22glrF1Jj1MEMCSLjVsK117zRaVMksHI7WtCTdpN0mzDuUStl1HX9C+PcsVMYNuwGQY= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by DM6PR10MB3721.namprd10.prod.outlook.com (2603:10b6:5:156::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Wed, 9 Feb 2022 19:57:22 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::ac06:be4:5723:771c]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::ac06:be4:5723:771c%5]) with mapi id 15.20.4975.011; Wed, 9 Feb 2022 19:57:21 +0000 From: Eric DeVolder To: linux-kernel@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, ebiederm@xmission.com, dyoung@redhat.com, bhe@redhat.com, vgoyal@redhat.com Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, nramas@linux.microsoft.com, thomas.lendacky@amd.com, robh@kernel.org, efault@gmx.de, rppt@kernel.org, konrad.wilk@oracle.com, boris.ostrovsky@oracle.com, eric.devolder@oracle.com Subject: [PATCH v4 01/10] crash: fix minor typo/bug in debug message Date: Wed, 9 Feb 2022 14:56:57 -0500 Message-Id: <20220209195706.51522-2-eric.devolder@oracle.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220209195706.51522-1-eric.devolder@oracle.com> References: <20220209195706.51522-1-eric.devolder@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DM6PR05CA0046.namprd05.prod.outlook.com (2603:10b6:5:335::15) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 014c89ee-d4ac-45ed-d68b-08d9ec06628b X-MS-TrafficTypeDiagnostic: DM6PR10MB3721:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9bs7mvm4EBP/KyK6OyCXu4BZQOawkwvrEQsbycIWQHcWk7A9bv2Z+K0omu1DSN8VDGfUpQPXL8O8CyMfaryHAjnc5Od0H4x893tnHXXUfmxnGU8NZj3QNlO71um35vj+hZrS7dYat3dx4EgFMBGlPyiw04Bwl8V7UPxJVVVgMKnBfHnohtHx3lAM+uxllXDa9U/nN0CmRcZ1zWNkQt1tCAn9c0ppJsMjekHpFt62UTm7AMKxiHTWjShnV59OQbPL6TPRWVfUdn3c3cYvzMKNDk7CctvUbIPwnHs8nL+Qfn9/ZFOQCWnMO9GHd/okItrWqGoyElZtJXJbn/bvhAhTKoEzbzdFEAvKxUCmyeqDeFyDUFAnW5JEX8WQcbudWu6Ffl4anTHviZQdpOF7HjjqFMeGcLL7B6psmbHe/i8JvR0Jxtjd2vzSgUfKOjqdwIJjAtWYagILEsfVQKWZ4A1jUrKPcBxmUb/4S1Mm9JSdx2fsB8BiWXirg2NmiXPAsSDOVIB//1FS3LFXhZ+OfQwTBEfJyDszcu2e2nItm4FKaN4vGS5nc7UJP7qmMdkOfPJo7B8yecSCmXPx6SNhZHvmEvhxdsKySTeeq5x7jDBqYTPDj+OggUMNLDe+uTvz6rul+7BywgNaADavpiiGuUrqIOOMf3vVVt9da1icS7JYIif1uXcXzQ2Whpna4oWrEgD6y/G4HnOm6fC7ZwaQlxeVKw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR10MB4531.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(186003)(2616005)(5660300002)(26005)(107886003)(1076003)(2906002)(6666004)(508600001)(36756003)(38350700002)(6486002)(38100700002)(7416002)(6512007)(4744005)(52116002)(4326008)(316002)(66946007)(86362001)(8676002)(6506007)(8936002)(66476007)(83380400001)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?9xa8x88pbgOYgAmMh9WtLOZ25YLb8r/xyGL7B6Y17Yiivw+5i21Pi4sAiHee?= =?us-ascii?Q?g9vF+Z1BuYku6uDKGydZcdz/45MQJSXrCxZeyG+w1y/+MUVE74B9TKt2QYaa?= =?us-ascii?Q?mD5KY4OXoXgFrnbrnkqjC1E1HWDguvIlCKDOnuW0AXQedDrzXAjt70EFZWsO?= =?us-ascii?Q?pePr4A+LeU2pa9q8ixfB05UKX1sR770l1Q42S5Co3/L1S2ayh/i5wh5ztNpl?= =?us-ascii?Q?wxMr/JjXlejTR/+CBlCCjWtIzcKoRMhiT5D/xNQG1uQYMVPRZ501ufF1hRNx?= =?us-ascii?Q?rDN5lLXUpigQpkB6MvqkIXI159PbwsSdRF85r7+r9CI40yMhhb/bZUnEEB1A?= =?us-ascii?Q?VfP9LSGroA7iPeHUgHSJmz1X02LIvHHs00hVJjV33V96YPpijvXY0KezRgzu?= =?us-ascii?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HGi2EYx0JktQDZOTtnFdCv3Zj?= =?us-ascii?Q?/vM938j+FFc01vkRCEN/ArcmEmLtN9k3LNylU7DdQ3TzFh49Z/c8Kykn6z65?= =?us-ascii?Q?oJtKcdGUKFLMjbORwVD4fZHLk3aKmu+xihjZPWYMEnr56m7WwECJE3wmI2tq?= =?us-ascii?Q?foCtDrVoNwfSJKMWpyHEpqtkM7mZRO/FeanxQQ28VJnI2p1E/qUUqiFnALtO?= =?us-ascii?Q?iPs+LwjUAjfOygCNf7in3BMqQaS1nf5uGehIgLcgG1wQk+4h19CW6t/iMue7?= =?us-ascii?Q?n/uBnzKZLUI+OM5mBCT7N7o4AT4Y8udOf76vlR9Weq6Pf5OpAH4P3oX+m4GY?= =?us-ascii?Q?p11mBNVSSIKCN67oJ8YLYLYTUp4Rl+5oFnnqcAtHbNqr9x7zG4NspvYOF/oW?= =?us-ascii?Q?wTG4RQ=3D=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 014c89ee-d4ac-45ed-d68b-08d9ec06628b X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2022 19:57:21.8801 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +TpSpYHv74e6umZBTG9PYSfmuu/E7z/b19M+QEu5Kl3rahNjmexAB/WyVrT+EbTipJ/TTJrnH1Ar/Y5AXQWh971v6KO6uSJAAjjpHJTd2d4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB3721 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10253 signatures=673431 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202090106 X-Proofpoint-GUID: JtPs_LH4agUDwEAMv3heDCQFfOM9Y2FV X-Proofpoint-ORIG-GUID: JtPs_LH4agUDwEAMv3heDCQFfOM9Y2FV X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pr_debug() intends to display the memsz member, but the parameter is actually the bufsz member (which is already displayed). Correct this to display memsz value. Signed-off-by: Eric DeVolder Acked-by: Baoquan He --- arch/x86/kernel/crash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c index e8326a8d1c5d..9730c88530fc 100644 --- a/arch/x86/kernel/crash.c +++ b/arch/x86/kernel/crash.c @@ -407,7 +407,7 @@ int crash_load_segments(struct kimage *image) } image->elf_load_addr = kbuf.mem; pr_debug("Loaded ELF headers at 0x%lx bufsz=0x%lx memsz=0x%lx\n", - image->elf_load_addr, kbuf.bufsz, kbuf.bufsz); + image->elf_load_addr, kbuf.bufsz, kbuf.memsz); return ret; } -- 2.27.0