[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [XEN][PATCH v6 02/19] common/device_tree: handle memory allocation failure in __unflatten_device_tree()


  • To: Vikram Garhwal <vikram.garhwal@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Thu, 4 May 2023 03:54:46 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • 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=TRauj12Zeuec/7oL0evdHlgULMSFkh+0FOD2EYPTdzE=; b=l64eiEScDW3RNEWmI97rDn+KEKQ/HKV3Ld4WGF3tWtugHc9GPU1j7XSFCV1OACMb3uNdTfcZrxq9/uXOBa+YZzkh7cS3uHTisUZ97JNk877je849zCmygRYNli7K/FPvkjT0BIzA4gFlQfWlBpncVCycR4NKzfNaC9+Sok9d6NAJLzykuLOqvR110sVGyVyvFPKOKedXEjwPtlr1NJlzOKpCmJoLpWbqg1c6SKA501C9dnCemncfP1dyh5BRJk1DOva56EWMWqwQtMgF7iIPrMh0GvkzsYJGdfkpUdpXFaHjOMNk4+Q5Ps5SEPf3CkpQT21EoI25oTaTTm+WotbJrg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PBWYzNcrvDlu3EiNS2hqudOQkYDjt1ZtGyhv3wi1ss9ozhBvVyLstzspRkGjp4XXqOwAot+RQa98cdVFe+FCd9dXf+4Q1udwzdCWVNKkeRP7ai3n+wWmCHRyHm2DL+IaetnSNCv1HbOdHLOex7GR2xvIxorGD2NYayaX8suBxwXupMG9576p+AL4iYi5ty7E2zFkGHNc+YVpf9gTTb9mosfSX/kzkNhGSxvppu+GcILXlP7f4oW9fuuwNLGAWrqgpAheW42wGFvWvlPekNJ7TtzbhkiQmDIm2U+ZwDgyat/kOfuRjFpdp5/wGEtJfjlugXzQ7mpn05PtaE/rjgkvzg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "michal.orzel@xxxxxxx" <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Thu, 04 May 2023 03:55:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHZfU8Zj43F8/qoe0aOSV+uN58JIK9JfX4Q
  • Thread-topic: [XEN][PATCH v6 02/19] common/device_tree: handle memory allocation failure in __unflatten_device_tree()

Hi Vikram,

> -----Original Message-----
> Subject: [XEN][PATCH v6 02/19] common/device_tree: handle memory
> allocation failure in __unflatten_device_tree()
> 
> Change __unflatten_device_tree() return type to integer so it can propagate
> memory allocation failure. Add panic() in dt_unflatten_host_device_tree() for
> memory allocation failure during boot.
> 
> Signed-off-by: Vikram Garhwal <vikram.garhwal@xxxxxxx>

Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx>

Kind regards,
Henry



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.