On Tue, Oct 12, 2010 at 08:01:11AM +0200, Dan Carpenter wrote:
> There is an integer overflow here because 0x0300 * 1000 is too large
> for 31 bits.
>
> rawir.duration should be in terms of nsecs.
> IR_MAX_DURATION and 0x0300 are already in terms of nsecs.
> STREAMZAP_TIMEOUT and STREAMZAP
There is an integer overflow here because 0x0300 * 1000 is too large
for 31 bits.
rawir.duration should be in terms of nsecs.
IR_MAX_DURATION and 0x0300 are already in terms of nsecs.
STREAMZAP_TIMEOUT and STREAMZAP_RESOLUTION are 255 and 256 respectively
and are in terms of usecs.
The or