[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Re: copy_to_user problem



Hi Carsten,

So the patch just makes the count parameter 'n' macro-safe, right?

What was the error condition you saw, and how was this triggered?

Thanks,

John


On Tue, Mar 3, 2009 at 7:11 PM, Bartsch Carsten <cbartsch@xxxxxxxxxx> wrote:
Forgot the attachment...


-----Mensaje original-----
De: Bartsch Carsten
Enviado el: martes, 03 de marzo de 2009 10:09
Para: 'microblaze-uclinux@xxxxxxxxxxxxxx'
Asunto: copy_to_user problem

Here is a small fix for the macros copy_to_user and copy_from_user. It
took me quite some time to figure out why the ipc messages didn't work
as intended. I saw other code that could trigger this bug, so this might
help.

Carsten