[PATCH] ARM: mvebu: check the validation of memory allocation
xkernel.wang at foxmail.com
xkernel.wang at foxmail.com
Sun May 1 00:01:58 PDT 2022
On Friday, April 29, 2022 11:19 PM +0800, linux at armlinux.org.uk wrote:
> Are these failures silent, or will they be reported in the kernel log to
> make their failure obvious to those who debug the kernel?
According to chapter 14 of the coding style document:
"These generic allocation functions all emit a stack dump on failure when used
without __GFP_NOWARN so there is no use in emitting an additional failure
message when NULL is returned."
I think that these failures are not silent since __GFP_NOWARN is not
enabled.
Regards,
Xiaoke Wang
More information about the linux-arm-kernel
mailing list