[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v2 1/2] xen/arm: domain_build: Propagate return code of map_irq_to_domain()
- To: Michal Orzel <michal.orzel@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Henry Wang <Henry.Wang@xxxxxxx>
- Date: Fri, 12 May 2023 02:19:38 +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=h/S0Jvd4rp5+8PVqjVmxESGkBJPv236sH7HvXuetmgE=; b=iTWjGUMP/Vy5Y/AC0YyT77RCCqDkWWBvqEu304HcmOWVBJ8QHAqiRxWMBqWDA3lWTZ3gev2IpSsKrv+K1mpX0rjG2DDXAAtsn8CkEe7rWFAYH8k8F/RxwX7U334ijxh8lUj4N6dZK32oeC/ydVW1Eqlx2uvOrzLi8JF1UezdGCeLNqokeKimw577EsW3anqJDYohCkAJtq6i0sS4Lr55W/F58XsqCJ2iZ2PdhIXNEkQzj5bEoHQkLe22A7Y1Mq8binG3i0asNvlBtuPSCtJHFeCUl2oX+CAIODlMYJKbRdWuyBqUeTeHP+gqeQjNjqovBXFO7GaV28i+xH+6l2rq5g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BzB6kl1CXd9QnG2pZ2izSew89MfGLF2js8k/RtXgT7QX5iyUMFq4Kz/UP8Ao+wxwshMNDUGQwHKufgrdU26vuiwfLcnTpMwLjPY+IF2AdlvxTDPgGjP5FygXc4FwCMVTgApKc4eVGlTGeGnDfVtnd6/WEgTZ43p9xl4JpFrUW6I9mMVYENmw236vypZwyf30v/aDmzqPTy92+EezDpYvvTJUazENNksTN0eLoQ/499pFwxZwh8dEf9Ip7kks62wPoEwO94vo9MSUknvbQlVz7aqrC4Qu3cv9LGf9H8HYWGml6elYyZhLSlWNkV1o4P7eTdF+nkJ5khGPw8KCqbsNDw==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Fri, 12 May 2023 02:20:20 +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: AQHZhAjs3jiwxpILn0CHXeAkKfqtgq9V5/uA
- Thread-topic: [PATCH v2 1/2] xen/arm: domain_build: Propagate return code of map_irq_to_domain()
Hi Michal,
> -----Original Message-----
> Subject: [PATCH v2 1/2] xen/arm: domain_build: Propagate return code of
> map_irq_to_domain()
>
> From map_dt_irq_to_domain() we are assigning a return code of
> map_irq_to_domain() to a variable without checking it for an error.
> Fix it by propagating the return code directly since this is the last
> call.
>
> Fixes: 467e5cbb2ffc ("xen: arm: consolidate mmio and irq mapping to dom0")
> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx>
Kind regards,
Henry
|