Re: [PATCH v2 2/3] regmap: debugfs: Fix kmemleak in regmap_debugfs_init

2018-03-07 Thread JeffyChen
Hi Mark, Thanks for your reply. On 03/06/2018 08:59 PM, Mark Brown wrote: On Tue, Mar 06, 2018 at 07:04:02PM +0800, Jeffy Chen wrote: Use map->debugfs_name to store allocated debugfs name, so it would be freed in regmap_debugfs_exit(). I'm missing patch 1 in this series and I think this

Re: [PATCH v2 2/3] regmap: debugfs: Fix kmemleak in regmap_debugfs_init

2018-03-07 Thread JeffyChen
Hi Mark, Thanks for your reply. On 03/06/2018 08:59 PM, Mark Brown wrote: On Tue, Mar 06, 2018 at 07:04:02PM +0800, Jeffy Chen wrote: Use map->debugfs_name to store allocated debugfs name, so it would be freed in regmap_debugfs_exit(). I'm missing patch 1 in this series and I think this

Re: [PATCH v2 2/3] regmap: debugfs: Fix kmemleak in regmap_debugfs_init

2018-03-06 Thread Mark Brown
On Tue, Mar 06, 2018 at 07:04:02PM +0800, Jeffy Chen wrote: > Use map->debugfs_name to store allocated debugfs name, so it would be > freed in regmap_debugfs_exit(). I'm missing patch 1 in this series and I think this collides with a fix I already have locally. signature.asc Description: PGP

Re: [PATCH v2 2/3] regmap: debugfs: Fix kmemleak in regmap_debugfs_init

2018-03-06 Thread Mark Brown
On Tue, Mar 06, 2018 at 07:04:02PM +0800, Jeffy Chen wrote: > Use map->debugfs_name to store allocated debugfs name, so it would be > freed in regmap_debugfs_exit(). I'm missing patch 1 in this series and I think this collides with a fix I already have locally. signature.asc Description: PGP

[PATCH v2 2/3] regmap: debugfs: Fix kmemleak in regmap_debugfs_init

2018-03-06 Thread Jeffy Chen
Use map->debugfs_name to store allocated debugfs name, so it would be freed in regmap_debugfs_exit(). Kmemleak reported: unreferenced object 0xffc0cf78cf00 (size 128): comm "swapper/0", pid 1, jiffies 4294669168 (age 89.152s) hex dump (first 32 bytes): 64 75 6d 6d 79 32 33 00 00 00 00

[PATCH v2 2/3] regmap: debugfs: Fix kmemleak in regmap_debugfs_init

2018-03-06 Thread Jeffy Chen
Use map->debugfs_name to store allocated debugfs name, so it would be freed in regmap_debugfs_exit(). Kmemleak reported: unreferenced object 0xffc0cf78cf00 (size 128): comm "swapper/0", pid 1, jiffies 4294669168 (age 89.152s) hex dump (first 32 bytes): 64 75 6d 6d 79 32 33 00 00 00 00