u-boot/disk
Heinrich Schuchardt be2e42fa95 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: 4d907025d6 ("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>
2022-12-02 19:17:24 +01:00
..
disk-uclass.c disk: Rename block_dev to desc 2022-10-31 11:02:44 -04:00
Kconfig disk: Correct help for TPL_PARTITIONS 2022-09-16 11:05:00 -04:00
Makefile blk: Rename HAVE_BLOCK_DEVICE 2022-09-16 11:05:16 -04:00
part_amiga.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_amiga.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part_dos.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_dos.h disk: dos: add code for creating MBR partition layout 2021-01-15 15:33:09 -05:00
part_efi.c disk: Drop debug messages in part_efi 2022-10-31 11:01:31 -04:00
part_iso.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_iso.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part_mac.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_mac.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part.c disk: fix blk_get_device_part_str() 2022-12-02 19:17:24 +01:00