Re: of: dynamic: resource: add WARN in release_resource for DT overlays

2015-08-05 Thread Andrew Morton
On Thu, 30 Jul 2015 15:17:16 +0200 Robert ABEL wrote: > > This patch prevents a kernel OOPS when removing a DT overlay containing > nodes with reg properties. release_resources is called for these nodes. > However, the resource structs were never initialized, hence the kernel OOPS. > > This

Re: of: dynamic: resource: add WARN in release_resource for DT overlays

2015-08-05 Thread Andrew Morton
On Thu, 30 Jul 2015 15:17:16 +0200 Robert ABEL ra...@cit-ec.uni-bielefeld.de wrote: This patch prevents a kernel OOPS when removing a DT overlay containing nodes with reg properties. release_resources is called for these nodes. However, the resource structs were never initialized, hence the

of: dynamic: resource: add WARN in release_resource for DT overlays

2015-07-30 Thread Robert ABEL
This patch prevents a kernel OOPS when removing a DT overlay containing nodes with reg properties. release_resources is called for these nodes. However, the resource structs were never initialized, hence the kernel OOPS. This is obviously a stopgap measure until a proper solution is coded, see

of: dynamic: resource: add WARN in release_resource for DT overlays

2015-07-30 Thread Robert ABEL
This patch prevents a kernel OOPS when removing a DT overlay containing nodes with reg properties. release_resources is called for these nodes. However, the resource structs were never initialized, hence the kernel OOPS. This is obviously a stopgap measure until a proper solution is coded, see