]> err.no Git - linux-2.6/commit
V4L/DVB (7092): radio-sf16fmr2: fix request_region() validation [bugzilla 9699]
authorDouglas Schilling Landgraf <dougsland@gmail.com>
Sun, 27 Jan 2008 17:29:51 +0000 (14:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 14:14:59 +0000 (11:14 -0300)
commitdd49f30ca032464839085ec3a54dd9917829c891
treeb2ea8b10b282f5579dcb3f29264cd7b5caba141c
parent0e3301ec23000ffbbe28771eb79628856a9a2f84
V4L/DVB (7092): radio-sf16fmr2: fix request_region() validation [bugzilla 9699]

This patch changed the request_region() validation to avoid invalid return.
Thanks to Roland Kletzing <devzero@web.de> for bug report and data collection.

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/radio/radio-sf16fmr2.c