diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-09-04 14:18:34 +0000 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-09-09 09:55:27 +0200 |
commit | 59929d3a2eb6c4abafc5b61a20c98aa8728ec378 (patch) | |
tree | 482d6d76e7a0e006fc734db4e006b82f3f2e5eec /kernel | |
parent | f74c2bb98776e2de508f4d607cd519873065118e (diff) |
gpio: mockup: add missing single_release()
When using single_open() for opening, single_release() should be
used instead of seq_release(), otherwise there is a memory leak.
Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions