commit | ca3df488cd69312925506235d784c518508b1659 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Nov 20 11:23:24 2022 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Dec 02 19:17:24 2022 +0100 |
tree | d1c141ebb69b497a9d11bd06a0cd074560c118c6 | |
parent | 1bc421bd042b101666072cb4eb9ea1fe9e7e4a75 [diff] |
disk: fix blk_get_device_part_str() blk_get_device_part_str() should always initialize all info fields including sys_ind. As a side effect the code is simplified. Replace '(0 ==' by '(!' to conform with Linux coding style. Fixes: 4d907025d6a5 ("sandbox: restore ability to access host fs through standard commands") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Heiko Schocher <hs@denx.de>