linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Gregor Jasny <jasny@vidsoft.de>
Cc: video4linux-list@redhat.com, Ted Walther <ted@enumera.com>,
	John Sokol <sokol@videotechnology.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vivi driver works only as first device
Date: Mon, 10 Dec 2007 05:08:51 -0200	[thread overview]
Message-ID: <1197270531.5168.5.camel@gaivota> (raw)
In-Reply-To: <20071206220634.GT17496@vidsoft.de>

Hi Gregor,
Em Qui, 2007-12-06 às 23:06 +0100, Gregor Jasny escreveu:
> From: Gregor Jasny <gjasny@web.de>
> 
> When the vivi driver allocates a video device, video_register_device() stores the
> allocated device minor inside the vivi structure. But when the device node is opened,
> the file minor number is compared to the minor in the device list. So this patch
> copies the allocated minor in the device list, too.

Thanks for the report. Instead of applying your patch, I decided to
better analyze the issue, fixing it with the proper solution. The issue
is that vivi_register changes iminor, but this change were not properly
returned to the driver.

-- 
Cheers,
Mauro


  reply	other threads:[~2007-12-10  7:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071203225610.GS17496@vidsoft.de>
2007-12-06 22:06 ` [PATCH] vivi driver works only as first device Gregor Jasny
2007-12-10  7:08   ` Mauro Carvalho Chehab [this message]
2008-01-06 22:47     ` Gregor Jasny
2008-01-07  9:46       ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1197270531.5168.5.camel@gaivota \
    --to=mchehab@infradead.org \
    --cc=jasny@vidsoft.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sokol@videotechnology.com \
    --cc=ted@enumera.com \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).