Re: [PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-15 Thread Dan Carpenter
On Tue, Jul 15, 2014 at 04:32:27PM +0900, DaeSeok Youn wrote: > 2014-07-15 15:41 GMT+09:00 Dan Carpenter : > > On Tue, Jul 15, 2014 at 12:04:02PM +0900, Daeseok Youn wrote: > >> When a configration file is parsed with dgap_parsefile(), > >> makes nodes for saving configrations for board. > >> > >>

Re: [PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-15 Thread DaeSeok Youn
2014-07-15 15:41 GMT+09:00 Dan Carpenter : > On Tue, Jul 15, 2014 at 12:04:02PM +0900, Daeseok Youn wrote: >> When a configration file is parsed with dgap_parsefile(), >> makes nodes for saving configrations for board. >> >> Making a node will allocate node memory and strings for saving >>

Re: [PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-15 Thread Dan Carpenter
On Tue, Jul 15, 2014 at 12:04:02PM +0900, Daeseok Youn wrote: > When a configration file is parsed with dgap_parsefile(), > makes nodes for saving configrations for board. > > Making a node will allocate node memory and strings for saving > configrations with kstrdup(). > > So these are freed

Re: [PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-15 Thread Dan Carpenter
On Tue, Jul 15, 2014 at 12:04:02PM +0900, Daeseok Youn wrote: When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and strings for saving configrations with kstrdup(). So these are freed when dgap

Re: [PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-15 Thread DaeSeok Youn
2014-07-15 15:41 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Tue, Jul 15, 2014 at 12:04:02PM +0900, Daeseok Youn wrote: When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and strings for

Re: [PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-15 Thread Dan Carpenter
On Tue, Jul 15, 2014 at 04:32:27PM +0900, DaeSeok Youn wrote: 2014-07-15 15:41 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Tue, Jul 15, 2014 at 12:04:02PM +0900, Daeseok Youn wrote: When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for

[PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-14 Thread Daeseok Youn
When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and strings for saving configrations with kstrdup(). So these are freed when dgap is unloaded or failed to initialize. Signed-off-by: Daeseok Youn

[PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-14 Thread Daeseok Youn
When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and strings for saving configrations with kstrdup(). So these are freed when dgap is unloaded or failed to initialize. Signed-off-by: Daeseok Youn