Re: [PATCH] acpi: handle return value of mmap consistently in acpi.c

2021-11-21 Thread Samuel Thibault
Hello, Applied, thanks! Samuel Andrea Monaco, le ven. 19 nov. 2021 00:05:38 +0100, a ecrit: > > Hello. > > > In the first chunk, munmap is not needed, because mmap_phys_acpi_header > only returns non-zero when mmap fails. > In the second, a possible error condition was previously ignored. > I

[PATCH] acpi: handle return value of mmap consistently in acpi.c

2021-11-18 Thread Andrea Monaco
Hello. In the first chunk, munmap is not needed, because mmap_phys_acpi_header only returns non-zero when mmap fails. In the second, a possible error condition was previously ignored. In the last chunk, I moved a common identical branch lower. Bye, Andrea Monaco diff --git a/acpi/acpi.c b