[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1433686811-12303-1-git-send-email-grant.likely@linaro.org>
Date: Sun, 7 Jun 2015 15:20:09 +0100
From: Grant Likely <grant.likely@...aro.org>
To: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] Fix oops in platform_device resource unregister
The register and unregister paths for platform_devices use different
tests to chose which resources to process. Register uses the value of
both parent & type, but unregister relies solely on type, which can
result in some resources not being unregistered, and an oops when an
unregistered resource is attempted to be removed. The oops issue is
particularly a problem for devicetree users because resources are not
registered in that path.
Add a test that exposes the problem for devicetree users, and then fix
the problem.
--
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