2007-01-08 19:15:50

by Cornelia Huck

[permalink] [raw]
Subject: [Patch 0/2] driver core: device_move() fallout.

Hi Greg,

here are two patches that hopefully make device_move() more universally
usable:

[1/2] Remove device_is_registered() in device_move().
[2/2] Allow device_move(dev, NULL).

Patches are against your latest git tree. The code works for me, but
has not been heavily tested.


2007-01-09 22:58:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Patch 0/2] driver core: device_move() fallout.

Hi Greg,

> here are two patches that hopefully make device_move() more universally
> usable:
>
> [1/2] Remove device_is_registered() in device_move().
> [2/2] Allow device_move(dev, NULL).
>
> Patches are against your latest git tree. The code works for me, but
> has not been heavily tested.

I tested it with my patch for the Bluetooth RFCOMM layer and it works
fine. Please make sure that it gets into 2.6.20 as soon as possible,
because the current device_move() is simply broken.

Regards

Marcel