linux-next: manual merge of the driver-core tree with the pm tree
Hi all,
Today's linux-next merge of the driver-core tree got a conflict in:
drivers/base/platform.c
u
between commit:
2d51ac9086fd ("driver core: platform: Remove duplicated device_remove_properties() call")
from the pm tree and commit:
99fef587ff98 ("driver core: platform: Respect return code of platform_device_register_full()")
from the driver-core tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 17 lines
Cheers,
Stephen Rothwell
diff --cc drivers/base/platform.c
index 0fb5f140f1b0,e1ba610482c0..000000000000
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@@ -447,7 -447,8 +447,7 @@@ void platform_device_del(struct platfor
{
int i;
- if (pdev) {
+ if (!IS_ERR_OR_NULL(pdev)) {
- device_remove_properties(&pdev->dev);
device_del(&pdev->dev);
if (pdev->id_auto) {Quoted 14 lines · CET Stephen Rothwell
Hi all,
Today's linux-next merge of the driver-core tree got a conflict in:
drivers/base/platform.c
u
between commit:
2d51ac9086fd("driver core: platform: Remove duplicateddevice_remove_properties()call")from the pm tree and commit:
99fef587ff98("driver core: platform: Respect return code ofplatform_device_register_full()")
Quoted 8 lines
from the driver-core tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
The fix looks good to me, thank you!
Quoted 17 lines · Rafael J. Wysocki
Quoted 16 lines · CET Stephen Rothwell
Hi all,
Today's linux-next merge of the driver-core tree got a conflict in:
drivers/base/platform.c
u
between commit:
2d51ac9086fd("driver core: platform: Remove duplicateddevice_remove_properties()call")from the pm tree and commit:
99fef587ff98("driver core: platform: Respect return code ofplatform_device_register_full()")from the driver-core tree.
Quoted 8 lines
Quoted 6 lines
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
The fix looks good to me, thank you!
Confirm, the result looks as it supposed to be.
Thanks!
Signature · 2 lines
With Best Regards, Andy Shevchenko