lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [v4l-dvb-maintainer] [PATCH] [PATCH] v4l: Introduce "index" attribute for?persistent video4linux device nodes
- Date: Tue, 24 Jun 2008 15:59:51 -0700
- From: Brandon Philips <brandon@xxxxxxxx>
- Subject: Re: [v4l-dvb-maintainer] [PATCH] [PATCH] v4l: Introduce "index" attribute for?persistent video4linux device nodes
On 00:34 Tue 24 Jun 2008, Trent Piepho wrote:
> On Mon, 23 Jun 2008, Brandon Philips wrote:
> > + for (i = 0; i < 32; i++) {
> > + if (used & (1 << i))
> > + continue;
> > + return i;
> > + }
>
> i = ffz(used);
> return i >= 32 ? -ENFILE : i;
Err. Right :D Tested and pushed.
Mauro-
Updated http://ifup.org/hg/v4l-dvb to have Trent's improvement.
Cheers,
Brandon
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list