Re: [PATCH 4/6] drivers: base: Introducing software nodes to the firmware node framework

2018-11-07 Thread Heikki Krogerus
On Wed, Nov 07, 2018 at 07:39:33AM +0300, Dan Carpenter wrote: > Hi Heikki, > > url: > https://github.com/0day-ci/linux/commits/Heikki-Krogerus/device-property-Introducing-software-nodes/20181106-031310 > > smatch warnings: > drivers/base/swnode.c:391 fwnode_create_software_node() error: dere

Re: [PATCH 4/6] drivers: base: Introducing software nodes to the firmware node framework

2018-11-06 Thread Dan Carpenter
Hi Heikki, url: https://github.com/0day-ci/linux/commits/Heikki-Krogerus/device-property-Introducing-software-nodes/20181106-031310 smatch warnings: drivers/base/swnode.c:391 fwnode_create_software_node() error: dereferencing freed memory 'swnode' # https://github.com/0day-ci/linux/commit/

[PATCH 4/6] drivers: base: Introducing software nodes to the firmware node framework

2018-11-05 Thread Heikki Krogerus
Software node is a new struct fwnode_handle type that can be used to describe devices in kernel (software). It is meant to complement fwnodes representing real firmware nodes when they are incomplete (for example missing device properties) and to supply the primary fwnode when the firmware lacks ha