disk/part.c: fix potential stack overflow bug
If the param pass to get_dev is not the one defined in the block_drvr,
it could make uboot becomes unstable, for it would continue run after
search complete the block_drvr table.
Signed-off-by: NLei Wen <leiwen@marvell.com>
Showing
想要评论请 注册 或 登录