aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-03-20 17:20:17 +0800
committerMark Brown <broonie@linaro.org>2014-03-21 18:12:03 +0000
commit7282326b722995c3fabd4dcd9244182b37500252 (patch)
tree4ffffcf62da593a467cd4e4f4443068ee4b61b0b /drivers/acpi/scan.c
parentspi: fsl-spi: Convert to let spi core validate xfer->bits_per_word (diff)
downloadlinux-7282326b722995c3fabd4dcd9244182b37500252.tar.gz
linux-7282326b722995c3fabd4dcd9244182b37500252.zip
spi: fsl-lib: Fix memory leak of pinfo
of_mpc8xxx_spi_probe() allocates memory for pinfo but the memory is not freed anywhere. of_mpc8xxx_spi_probe() is called in .probe() and pinfo should be freed in .remove(), so convert kzalloc to devm_kzalloc to fix the memory leak. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/acpi/scan.c')
0 files changed, 0 insertions, 0 deletions
tr> 2021-11-14Linux 5.16-rc1v5.16-rc1Linus Torvalds1-2/+2 2021-11-14kconfig: Add support for -Wimplicit-fallthroughGustavo A. R. Silva2-5/+6 2021-11-13perf tests: Remove bash constructs from stat_all_pmu.shJames Clark1-2/+2 2021-11-13perf tests: Remove bash construct from record+zstd_comp_decomp.shJames Clark1-1/+1 2021-11-13perf test: Remove bash construct from stat_bpf_counters.sh testJames Clark1-1/+1 2021-11-13perf bench futex: Fix memory leak of perf_cpu_map__new()Sohaib Mohamed4-0/+4 2021-11-13tools arch x86: Sync the msr-index.h copy with the kernel sourcesArnaldo Carvalho de Melo1-0/+2 2021-11-13tools headers UAPI: Sync drm/i915_drm.h with the kernel sourcesArnaldo Carvalho de Melo1-1/+241 2021-11-13tools headers UAPI: Sync sound/asound.h with the kernel sourcesArnaldo Carvalho de Melo1-1/+1 2021-11-13tools headers UAPI: Sync linux/prctl.h with the kernel sourcesArnaldo Carvalho de Melo1-0/+3 2021-11-13tools headers UAPI: Sync arch prctl headers with the kernel sourcesArnaldo Carvalho de Melo1-0/+4 2021-11-13perf tools: Add more weak libbpf functionsJiri Olsa1-0/+27 2021-11-13perf bpf: Avoid memory leak from perf_env__insert_btf()Ian Rogers3-3/+10 2021-11-13perf symbols: Factor out annotation init/exitIan Rogers3-1/+22 2021-11-13perf symbols: Bit pack to save a byteIan Rogers2-3/+3 2021-11-13perf symbols: Add documentation to 'struct symbol'Ian Rogers1-3/+14 2021-11-13tools headers UAPI: Sync files changed by new futex_waitv syscallArnaldo Carvalho de Melo2-1/+5 2021-11-13perf test bpf: Use ARRAY_CHECK() instead of ad-hoc equivalent, addressing arr...Guo Zhengkui1-1/+1 2021-11-13perf arm-spe: Support hardware-based PID tracingGerman Gomez1-29/+70 2021-11-13perf arm-spe: Save context ID in recordGerman Gomez2-0/+3 2021-11-13perf arm-spe: Update --switch-events docs in 'perf record'German Gomez2-2/+4 2021-11-13perf arm-spe: Track task context switch for cpu-mode eventsNamhyung Kim2-1/+30