# Re: \[PATCH v1 1/5\] IB/uverbs: ex\_query\_device: answer must not depend on request's comp\_mask

- From: Jason Gunthorpe \<hidden\>
- Date: 2015-01-29 21:12:56 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/01/13329053
- Thread: https://ratatoskr.run/linux-api/2015/01/13329053/t.md

```text
On Thu, Jan 29, 2015 at 09:50:38PM +0100, Yann Droneaud wrote:

> Anyway, I recognize that uverb way of abusing write() syscall is 
> borderline (at best) regarding other Linux subsystems and Unix paradigm 
> in general. But it's not enough to screw it more.

Then we must return the correct output size explicitly in the struct.

Jason
```
