Re: [PATCH] drivers/media/video/v4l2-compat-ioctl32.c: Check the return value of copy_to_user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Tuesday, December 21, 2010 - 11:25 am

On Tuesday 21 December 2010 02:18:06 Thiago Farina wrote:

Did you read the comment above the code you changed?

You can probably change this function to look at the return code of
copy_to_user, but then you need to treat the put_user return code
the same, and change the comment.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] drivers/media/video/v4l2-compat-ioctl32.c: Che ..., Arnd Bergmann, (Tue Dec 21, 11:25 am)
Re: [PATCH] drivers/media/video/v4l2-compat-ioctl32.c: Che ..., Mauro Carvalho Chehab, (Tue Dec 21, 4:55 pm)
Re: [PATCH v2] drivers/media/video/v4l2-compat-ioctl32.c: ..., Andreas Oberritter, (Wed Dec 22, 7:14 am)