Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2016 09:57:14 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        Bruce Evans <bde@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r304699 - head/sys/dev/usb/input
Message-ID:  <5d19a3ad-630d-f145-1e5e-36d51b4abdbb@selasky.org>
In-Reply-To: <20160824173513.M1067@besplex.bde.org>
References:  <201608231950.u7NJoGD8035436@repo.freebsd.org> <6e540271-b273-3f0b-0325-956bd0478789@selasky.org> <20160824173513.M1067@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/24/16 09:38, Bruce Evans wrote:
> 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.
>

OK, looks good.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5d19a3ad-630d-f145-1e5e-36d51b4abdbb>