Re: [PATCH] iommufd: Initialize batch->kind field in pfn_batch

From: Fushuai Wang

Date: Mon Jan 26 2026 - 03:05:58 EST


> this is incorrect. 'carry' means a portion of previous batch was handed
> over to the new batch, and it already initializes the array with a valid
> item#0. So the old 'kind' type should be kept.

Yes, you are right.

> From this angle Deepanshu's patch [1] is correct.

I was not aware of Deepanshu's patch before, please ignore my patch.

---
Regards,
WANG