Re: [PATCH 1/2] drivers/of: Add check for null property in of_remove_property()

2016-05-03 Thread Rob Herring
On Thu, Apr 28, 2016 at 12:34 AM, Suraj Jitindar Singh wrote: > The validity of the property input argument to of_remove_property() is > never checked within the function and thus it is possible to pass a null > value. It happens that this will be picked up in

[PATCH 1/2] drivers/of: Add check for null property in of_remove_property()

2016-04-27 Thread Suraj Jitindar Singh
The validity of the property input argument to of_remove_property() is never checked within the function and thus it is possible to pass a null value. It happens that this will be picked up in __of_remove_property() as no matching property of the device node will be found and thus an error will be