diff options
author | 2022-06-08 09:01:52 +0000 | |
---|---|---|
committer | 2022-07-12 12:25:36 +0200 | |
commit | ba1de43768aa27865169af00ee0c2a4a165690b6 (patch) | |
tree | 60680da5fa861a7f85075a47d8f2c5920712438f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: mmc: renesas,sdhi: Document R-Car S4-8 and generic Gen4 support (diff) | |
download | linux-dev-ba1de43768aa27865169af00ee0c2a4a165690b6.tar.xz linux-dev-ba1de43768aa27865169af00ee0c2a4a165690b6.zip |
mmc: debugfs: Fix file release memory leak
When using single_open() for opening, single_release() should be
used instead of seq_release(), otherwise there is a memory leak.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20220608090152.179395-1-weiyongjun1@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions