diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-07-18 16:17:31 -0300 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-07-18 16:17:31 -0300 |
commit | a51dd4ea79a5c23d0a701ec0cffb8fe7e190e2b8 (patch) | |
tree | 350462cfe4fb3a7971f14907ac3695b67473628c /linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |
parent | 0139018d1bfbb5b35e768a0b1b721a538ec56e1d (diff) | |
download | mediapointer-dvb-s2-a51dd4ea79a5c23d0a701ec0cffb8fe7e190e2b8.tar.gz mediapointer-dvb-s2-a51dd4ea79a5c23d0a701ec0cffb8fe7e190e2b8.tar.bz2 |
videodev: check the return value of class_device_register
From: Michael Krufky <mkrufky@linuxtv.org>
If an error occurs during class_device_register, print an error message,
kfree(&vfd->class_dev), and return the error code to the caller
of video_register_device.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c')
0 files changed, 0 insertions, 0 deletions