On 9/9/22 13:07, Sathyanarayanan Kuppuswamy wrote: >> What's wrong with: >> >> memchr_inv(&req.reserved, sizeof(req.reserved), 0) > I did not consider the hard coding issue. It is a mistake. Your suggestion > looks better. I will use it. BTW... Please look at how memchr_inv() gets used in the kernel. Don't copy my nonsense too exactly.