[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1438262237-30889-1-git-send-email-rabel@cit-ec.uni-bielefeld.de>
Date: Thu, 30 Jul 2015 15:17:16 +0200
From: Robert ABEL <rabel@...-ec.uni-bielefeld.de>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: of: dynamic: resource: add WARN in release_resource for DT overlays
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 [1].
[1]: https://lkml.org/lkml/2014/4/17/359
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists