
14 Mar
2024
14 Mar
'24
1:39 a.m.
On Tue, Mar 05, 2024 at 03:37:33PM +0800, Hanyuan Zhao wrote:
This commit simply modifies the history initialize function, replacing the return value by panic with reasons. The calling chains of hist_init don't have steps explicitly throwing or dealing with the ENOMEM error, and once the init fails, the whole system is died. Using panic here to provide error information instead.
Signed-off-by: Hanyuan Zhao hanyuan-z@qq.com
Applied to u-boot/next, thanks!
--
Tom