Re: [PATCH v2] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-08-02 Thread Jiri Kosina
On Wed, 1 Aug 2018, Anton Vasilyev wrote: > ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at > >wr_free_list_head.link list on ish_probe(). > But there is no deallocation of this memory in ish_remove() and in > ish_probe() error path. > So current intel-ish-ipc provides

Re: [PATCH v2] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-08-02 Thread Jiri Kosina
On Wed, 1 Aug 2018, Anton Vasilyev wrote: > ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at > >wr_free_list_head.link list on ish_probe(). > But there is no deallocation of this memory in ish_remove() and in > ish_probe() error path. > So current intel-ish-ipc provides

[PATCH v2] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-08-01 Thread Anton Vasilyev
ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at >wr_free_list_head.link list on ish_probe(). But there is no deallocation of this memory in ish_remove() and in ish_probe() error path. So current intel-ish-ipc provides 88 KB memory leak for each probe/release. The patch

[PATCH v2] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-08-01 Thread Anton Vasilyev
ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at >wr_free_list_head.link list on ish_probe(). But there is no deallocation of this memory in ish_remove() and in ish_probe() error path. So current intel-ish-ipc provides 88 KB memory leak for each probe/release. The patch

Re: [PATCH] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-29 Thread Srinivas Pandruvada
On Tue, 2018-07-24 at 17:34 +0300, Anton Vasilyev wrote: > ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores > it at > >wr_free_list_head.link list on ish_probe(). > But there is no deallocation of this memory in ish_remove() and in > ish_probe() error path. > So current

Re: [PATCH] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-29 Thread Srinivas Pandruvada
On Tue, 2018-07-24 at 17:34 +0300, Anton Vasilyev wrote: > ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores > it at > >wr_free_list_head.link list on ish_probe(). > But there is no deallocation of this memory in ish_remove() and in > ish_probe() error path. > So current

[PATCH] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-24 Thread Anton Vasilyev
ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at >wr_free_list_head.link list on ish_probe(). But there is no deallocation of this memory in ish_remove() and in ish_probe() error path. So current intel-ish-ipc provides 88 KB memory leak for each probe/release. The patch

[PATCH] HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-24 Thread Anton Vasilyev
ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at >wr_free_list_head.link list on ish_probe(). But there is no deallocation of this memory in ish_remove() and in ish_probe() error path. So current intel-ish-ipc provides 88 KB memory leak for each probe/release. The patch

Re: HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-23 Thread Srinivas Pandruvada
On Mon, 2018-07-23 at 20:56 +0300, Anton Vasilyev wrote: > ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores > it at > >wr_free_list_head.link list on ish_probe(). > But there is no deallocation of this memory in ish_remove() and in > ish_probe() > error path. > So current

Re: HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-23 Thread Srinivas Pandruvada
On Mon, 2018-07-23 at 20:56 +0300, Anton Vasilyev wrote: > ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores > it at > >wr_free_list_head.link list on ish_probe(). > But there is no deallocation of this memory in ish_remove() and in > ish_probe() > error path. > So current

HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-23 Thread Anton Vasilyev
ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at >wr_free_list_head.link list on ish_probe(). But there is no deallocation of this memory in ish_remove() and in ish_probe() error path. So current intel-ish-ipc provides 88 KB memory leak for each probe/release. I have

HID: intel_ish-hid: tx_buf memory leak on probe/remove

2018-07-23 Thread Anton Vasilyev
ish_dev_init() allocates 512*176 bytes memory for tx_buf and stores it at >wr_free_list_head.link list on ish_probe(). But there is no deallocation of this memory in ish_remove() and in ish_probe() error path. So current intel-ish-ipc provides 88 KB memory leak for each probe/release. I have