[PATCH][RESEND] drivers/base: cacheinfo: validate device node for all the caches

2015-03-17 Thread Sudeep Holla
On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed to the userspace. This is quite possible on initial/incomplete versions of the device trees. In such

[PATCH][RESEND] drivers/base: cacheinfo: validate device node for all the caches

2015-03-17 Thread Sudeep Holla
On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed to the userspace. This is quite possible on initial/incomplete versions of the device trees. In such