V4L/DVB (7854): cx18/ivtv: improve and fix out-of-memory handling
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 1 May 2008 13:31:12 +0000 (10:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 05:54:09 +0000 (02:54 -0300)
commit3f98387efa9333c5765d36e144c47c107d6ba64a
treeb5c8f515aecf306b0e0b6087458d221d9411f6cb
parent6a4a79355bfa9ae6977556595a68f2e3a0e143f7
V4L/DVB (7854): cx18/ivtv: improve and fix out-of-memory handling

- don't show kernel backtrace when the allocation of the buffers fails: the
  normal ivtv/cx18 messages are clear enough and the backtrace scares users.
- fix cleanup after the buffer allocation fails (caused kernel panic).

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/cx18/cx18-queue.c
drivers/media/video/cx18/cx18-streams.c
drivers/media/video/cx18/cx18-streams.h
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/ivtv/ivtv-queue.c
drivers/media/video/ivtv/ivtv-streams.c
drivers/media/video/ivtv/ivtv-streams.h
drivers/media/video/ivtv/ivtv-yuv.c
drivers/media/video/ivtv/ivtvfb.c