Messages in this thread | | | From | Will Deacon <> | Subject | Re: [PATCH][next] arm64: kexec_file: Use struct_size() in kmalloc() | Date | Thu, 18 Jun 2020 11:40:47 +0100 |
| |
On Wed, 17 Jun 2020 16:34:07 -0500, Gustavo A. R. Silva wrote: > Make use of the struct_size() helper instead of an open-coded version > in order to avoid any potential type mistakes. > > This code was detected with the help of Coccinelle and, audited and > fixed manually.
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: kexec_file: Use struct_size() in kmalloc() https://git.kernel.org/arm64/c/bf508ec95ca3
Cheers, -- Will
https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev
| |