Re: [PATCH 1/2] kobject: add kobject_read()

2018-04-10 Thread Greg Kroah-Hartman
On Tue, Apr 10, 2018 at 06:53:50AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > We are counting kobject by using kobject_get/put(), but > not have kobject_read() which can be used to check count. > Let's add No, please do not. You should

Re: [PATCH 1/2] kobject: add kobject_read()

2018-04-10 Thread Greg Kroah-Hartman
On Tue, Apr 10, 2018 at 06:53:50AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > We are counting kobject by using kobject_get/put(), but > not have kobject_read() which can be used to check count. > Let's add No, please do not. You should never care about this "count", and