[PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-19 Thread Andre Kalb
---[ end trace 4522f69e0760e4d5 ]--- Best regards Andre Kalb > -Ursprüngliche Nachricht- > Von: Rob Herring [mailto:robh...@kernel.org] > Gesendet: Montag, 10. September 2018 15:47 > An: Andre Kalb > Cc: Frank Rowand; devicet...@vger.kernel.org; linux-kernel@vger.kernel.or

[PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-19 Thread Andre Kalb
---[ end trace 4522f69e0760e4d5 ]--- Best regards Andre Kalb > -Ursprüngliche Nachricht- > Von: Rob Herring [mailto:robh...@kernel.org] > Gesendet: Montag, 10. September 2018 15:47 > An: Andre Kalb > Cc: Frank Rowand; devicet...@vger.kernel.org; linux-kernel@vger.kernel.or

[PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-17 Thread Andre Kalb
Hi Rob, I have used an other hardware to check the patch. I hope it doesn’t matter. I added few lines at the untitest.c. All existing unittest use an attached sysfs, therefore the bug isn't detectable. Best regards Andre Kalb > On Thu, Sep 13, 2018 at 4:42 PM Andre Kalb wrote: >

[PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-17 Thread Andre Kalb
Hi Rob, I have used an other hardware to check the patch. I hope it doesn’t matter. I added few lines at the untitest.c. All existing unittest use an attached sysfs, therefore the bug isn't detectable. Best regards Andre Kalb > On Thu, Sep 13, 2018 at 4:42 PM Andre Kalb wrote: >

AW: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-13 Thread Andre Kalb
Hi Rob, I have used an other hardware to check the patch. I hope it doesn’t matter. I added few lines at the untitest.c. All existing unittest use an attached sysfs, therefore the bug isn't detectable. Best regards Andre Kalb From 1e86e351efa1a7cea31d157bafb0ae40b856cdcc Mon Sep 17 00:00:00

AW: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-13 Thread Andre Kalb
Hi Rob, I have used an other hardware to check the patch. I hope it doesn’t matter. I added few lines at the untitest.c. All existing unittest use an attached sysfs, therefore the bug isn't detectable. Best regards Andre Kalb From 1e86e351efa1a7cea31d157bafb0ae40b856cdcc Mon Sep 17 00:00:00

AW: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-10 Thread Andre Kalb
Hi Frank, > -Ursprüngliche Nachricht- > Von: Frank Rowand [mailto:frowand.l...@gmail.com] > Gesendet: Freitag, 7. September 2018 22:01 > An: Andre Kalb; robh...@kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org > Betreff: Re: [PATCH v2] of: __of_upd

AW: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-10 Thread Andre Kalb
Hi Frank, > -Ursprüngliche Nachricht- > Von: Frank Rowand [mailto:frowand.l...@gmail.com] > Gesendet: Freitag, 7. September 2018 22:01 > An: Andre Kalb; robh...@kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org > Betreff: Re: [PATCH v2] of: __of_upd

[PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-04 Thread Andre Kalb
To prevent warning "kernfs: can not remove '(null)', no directory" if an overlay isn't applied to the active devicetree. Using of_remove_property and then of_add_property doesn't show the warning. Signed-off-by: Andre Kalb --- Changes in v2: - Fix typo drivers/of/kobj.c | 2

[PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-04 Thread Andre Kalb
To prevent warning "kernfs: can not remove '(null)', no directory" if an overlay isn't applied to the active devicetree. Using of_remove_property and then of_add_property doesn't show the warning. Signed-off-by: Andre Kalb --- Changes in v2: - Fix typo drivers/of/kobj.c | 2

[PATCH] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached.

2018-09-04 Thread Andre Kalb
To prevent warning "kernfs: can not remove '(null)', no directory", if an overlay isn't applied to the active devicetree. Using of_remove_property and than of_add_property don't show the warning. --- drivers/of/kobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached.

2018-09-04 Thread Andre Kalb
To prevent warning "kernfs: can not remove '(null)', no directory", if an overlay isn't applied to the active devicetree. Using of_remove_property and than of_add_property don't show the warning. --- drivers/of/kobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git