svn commit: r304699 - head/sys/dev/usb/input

Bruce Evans brde at optusnet.com.au
Wed Aug 24 07:38:50 UTC 2016


On Wed, 24 Aug 2016, Hans Petter Selasky wrote:

> On 08/23/16 21:50, Bruce Evans wrote:
>> +		kbd->kb_delay1 = imax(((int *)arg)[0], 250);
>> +		kbd->kb_delay2 = imax(((int *)arg)[1], 34);
>
> It looks like this will pass negative kb_delay's. How do you handle that?

imax(negtive, POSITIVE) == POSITIVE.

Bruce


More information about the svn-src-head mailing list