RE: [PATCH v1 5/5] iommu/vt-d: Convert nested cache invalidation to the core array loop
From: Tian, Kevin
Date: Fri Jul 03 2026 - 02:31:39 EST
> From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> Sent: Tuesday, June 30, 2026 5:16 AM
>
> + /*
> + * The core re-invokes this op for the remaining requests, so handle
> one
> + * request per call. A zero-length array only probes the type,
> validated
> + * above.
> + */
> + if (!array->entry_num)
> + goto out;
ditto. just return 0 here.
Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>