[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101208.121532.232745367.davem@davemloft.net>
Date: Wed, 08 Dec 2010 12:15:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kay.sievers@...y.org
Cc: dcbw@...hat.com, netdev@...r.kernel.org, duncan.sands@...e.fr,
linux-usb@...r.kernel.org, chas@....nrl.navy.mil
Subject: Re: [PATCH] atm: correct sysfs 'device' link creation and parent
relationships
From: David Miller <davem@...emloft.net>
Date: Wed, 08 Dec 2010 10:11:21 -0800 (PST)
> From: Kay Sievers <kay.sievers@...y.org>
> Date: Tue, 7 Dec 2010 08:35:53 +0100
>
>> On Sun, Dec 5, 2010 at 23:17, Dan Williams <dcbw@...hat.com> wrote:
>>> The ATM subsystem was incorrectly creating the 'device' link for ATM
>>> nodes in sysfs. This led to incorrect device/parent relationships
>>> exposed by sysfs and udev. Instead of rolling the 'device' link by hand
>>> in the generic ATM code, pass each ATM driver's bus device down to the
>>> sysfs code and let sysfs do this stuff correctly.
>>
>> Looks good to me.
>
> I've applied this to net-2.6, thanks Dan.
Actually I'm reverting, it breaks the build.
Did you even grep for "atm_dev_register()" after changning the number
of arguments, or were you depending upon build failures to guide you?
Please never do the latter, as it always leads to things like this.
drivers/atm/fore200e.c:2577:7: error: too few arguments to function 'atm_dev_register'
drivers/atm/iphase.c:3175:2: error: too few arguments to function 'atm_dev_register'
...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists