Alan,
Please apply this patch to your latest kernel.
Thanks,
Randy
PS: This is slightly different from the patch that Markus sent to
the mailing list.
Markus Demleitner wrote:
>
> Randy & all,
>
> Thanks to Nicolas Dague I found a sign extension bug in the dsbr100
> radio driver. There is a patch in the attachment. (The only code line
> changed is an "unsigned" before the char transfer_buffer declaration).
>
> How I wish ANSI had specified whether the default char was signed or
> unsigned...
>
> Markus
--- dsbr100.c.old Mon Jun 5 10:07:20 2000
+++ dsbr100.c Mon Jun 5 10:12:46 2000
@@ -33,6 +33,9 @@
History:
+ Version 0.23:
+ Markus: Sign extension bug fixed by declaring transfer_buffer unsigned
+
Version 0.22:
Markus: Some (brown bag) cleanup in what VIDIOCSTUNER returns,
thanks to Mike Cox for pointing the problem out.
@@ -74,7 +77,7 @@
typedef struct
{ struct urb readurb,writeurb;
struct usb_device *dev;
- char transfer_buffer[TB_LEN];
+ unsigned char transfer_buffer[TB_LEN];
int curfreq;
int stereo;
int ifnum;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]