Re: cxl: Fix lockdep warning while creating afu_err_buff attribute

2015-09-24 Thread Michael Ellerman
On Wed, 2015-23-09 at 03:07:59 UTC, Vaibhav Jain wrote: > Presently a lockdep warning is reported during creation of afu_err_buff > bin_attribute for the afu. This is caused due to the variable attr.key > not pointing to a static class key, hence the function lockdep_init_map > reports this

Re: [PATCH] cxl: Fix lockdep warning while creating afu_err_buff attribute

2015-09-22 Thread Daniel Axtens
Reviewed-by: Daniel Axtens Thanks Vaibhav! On Wed, 2015-09-23 at 08:37 +0530, Vaibhav Jain wrote: > Presently a lockdep warning is reported during creation of afu_err_buff > bin_attribute for the afu. This is caused due to the variable attr.key > not pointing to a static class

[PATCH] cxl: Fix lockdep warning while creating afu_err_buff attribute

2015-09-22 Thread Vaibhav Jain
Presently a lockdep warning is reported during creation of afu_err_buff bin_attribute for the afu. This is caused due to the variable attr.key not pointing to a static class key, hence the function lockdep_init_map reports this warning: BUG: key not in .data! The patch fixes this issue by

Re: [PATCH] cxl: Fix lockdep warning while creating afu_err_buff attribute

2015-09-22 Thread Ian Munsie
Thanks for fixing that Vaibhav :) Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev