Messages in this thread |  | | From | <> | Subject | Re: [PATCH] ARM: mvebu: check the validation of memory allocation | Date | Sun, 1 May 2022 15:01:58 +0800 |
| |
On Friday, April 29, 2022 11:19 PM +0800, linux@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
|  |