|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-4.22] dom0less: Prevent division by zero in handle_passthrough_prop()
On 7/7/26 5:16 PM, Dmytro Prokopchuk1 wrote: Fix tag is missed. Signed-off-by: Dmytro Prokopchuk <dmytro_prokopchuk1@xxxxxxxx> --- xen/common/device-tree/dom0less-build.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/common/device-tree/dom0less-build.c b/xen/common/device-tree/dom0less-build.c index eacfd93087..6796851844 100644 --- a/xen/common/device-tree/dom0less-build.c +++ b/xen/common/device-tree/dom0less-build.c @@ -154,6 +154,13 @@ static int __init handle_passthrough_prop(struct kernel_info *kinfo,/* xen,reg specifies where to map the MMIO region */ Considering that this calculation happens second time here ... ... I think it would be nice to calculate that once.Generally I am okay to not declare local separate variable for these calculations. With adding Fix tag: Reviewed-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> Thanks. ~ Oleksii
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |