Re: [PATCH 1/1] UIO: Add a write() function to enable/disable interrupts

Uwe Kleine-König
2008-05-23T05:45:41Z

Hello Tom,

Tom Spink wrote:
> The added benefit is that the code becomes less complex, as you don't
> have to check buffer sizes and copy the integer from userspace.
AFAIK this is wrong. You need to copy the integer from userspace in
uio_ioctl. Actually it's a value coming from user space, so you need to
do it somewhere.

Best regards
Uwe

--
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962