summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-09-04 17:18:34 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-09-09 10:55:27 +0300
commit59929d3a2eb6c4abafc5b61a20c98aa8728ec378 (patch)
tree482d6d76e7a0e006fc734db4e006b82f3f2e5eec /drivers/gpio/gpiolib.c
parentf74c2bb98776e2de508f4d607cd519873065118e (diff)
downloadlinux-59929d3a2eb6c4abafc5b61a20c98aa8728ec378.tar.xz
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 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions