diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-23 02:01:16 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-23 02:01:16 +0300 |
commit | 4d9af767418bf085e067bae905ce8675fc0f36eb (patch) | |
tree | 99fc18f36e0d41e091f8ccd3d5cefc790f725d04 /drivers | |
parent | c17c02040bf0d186cebd3e66ff349f955575bf38 (diff) | |
parent | a88dc7ba15cd4f4ef5102b5185f8fa7ff86e54e1 (diff) | |
download | linux-4d9af767418bf085e067bae905ce8675fc0f36eb.tar.xz |
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Catalin Marinas:
- #ifdef CONFIG_EFI around __efi_fpsimd_begin/end
- Assembly code alignment reduced to 4 bytes from 16
- Ensure the kernel is compiled for LP64 (there are some arm64
compilers around defaulting to ILP32)
- Fix arm_pmu_acpi memory leak on the error path
* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
drivers/perf: arm_pmu_acpi: Release memory obtained by kasprintf
arm64: ensure the kernel is compiled for LP64
arm64: relax assembly code alignment from 16 byte to 4 byte
arm64: efi: Don't include EFI fpsimd save/restore code in non-EFI kernels
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/perf/arm_pmu_acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/arm_pmu_acpi.c b/drivers/perf/arm_pmu_acpi.c index 0a9b78705ee8..3303dd8d8eb5 100644 --- a/drivers/perf/arm_pmu_acpi.c +++ b/drivers/perf/arm_pmu_acpi.c @@ -235,6 +235,7 @@ int arm_pmu_acpi_probe(armpmu_init_fn init_fn) ret = armpmu_register(pmu); if (ret) { pr_warn("Failed to register PMU for CPU%d\n", cpu); + kfree(pmu->name); return ret; } } |