Re: pktcdvd -> sysfs warning with 2.6.27

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kay Sievers
Date: Tuesday, October 14, 2008 - 1:38 am

On Tue, Oct 14, 2008 at 7:27 AM, Peter Osterlund <petero2@telia.com> wrote:

No, that's still true.


The pktcdvd driver allocates a dynamic block major, which is fine. But
doesn't it use the same number, and now not allocated, for the char
devices it uses? That looks like something that needs to fixed, right?

  static void pkt_sysfs_dev_new(struct pktcdvd_device *pd)
  {
    if (class_pktcdvd) {
      pd->dev = device_create_drvdata(class_pktcdvd, NULL,
                                                pd->pkt_dev, NULL,
                                                "%s", pd->name);

Thanks,
Kay
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pktcdvd -&gt; sysfs warning with 2.6.27, Nix, (Sun Oct 12, 5:26 am)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Greg KH, (Sun Oct 12, 11:17 am)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Greg KH, (Sun Oct 12, 3:18 pm)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Philip Martin, (Mon Oct 13, 3:27 am)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Greg KH, (Mon Oct 13, 2:47 pm)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Alessandro Zummo, (Mon Oct 13, 3:01 pm)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Peter Osterlund, (Mon Oct 13, 10:27 pm)
Re: pktcdvd -> sysfs warning with 2.6.27, Kay Sievers, (Tue Oct 14, 1:38 am)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Kay Sievers, (Tue Oct 14, 2:20 am)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Peter Osterlund, (Tue Oct 14, 12:53 pm)
Re: pktcdvd -&gt; sysfs warning with 2.6.27, Kay Sievers, (Tue Oct 14, 3:32 pm)