The patch number 10456 was added via Douglas Schilling Landgraf 
<dougsl...@redhat.com>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Alexey Klimov  <klimov.li...@gmail.com>
radio-mr800: place dev_err instead of dev_warn


There should be dev_err message if video_register_device() fails.
Correct this situation.

Priority: normal

Signed-off-by: Alexey Klimov <klimov.li...@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>


---

 linux/drivers/media/radio/radio-mr800.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r af1c86a0cf3f -r 011b7cf67e4d linux/drivers/media/radio/radio-mr800.c
--- a/linux/drivers/media/radio/radio-mr800.c   Thu Feb 05 09:48:43 2009 -0200
+++ b/linux/drivers/media/radio/radio-mr800.c   Thu Feb 05 09:49:58 2009 -0200
@@ -672,7 +672,7 @@ static int usb_amradio_probe(struct usb_
        video_set_drvdata(radio->videodev, radio);
        retval = video_register_device(radio->videodev, VFL_TYPE_RADIO, 
radio_nr);
        if (retval < 0) {
-               dev_warn(&intf->dev, "could not register video device\n");
+               dev_err(&intf->dev, "could not register video device\n");
                video_device_release(radio->videodev);
                kfree(radio->buffer);
                kfree(radio);


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/011b7cf67e4d10706eeb6bfd629412f1eed2964a

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to