This patch fixes Smatch static checker warning:
test/cmd/mbr.c:243 mbr_test_run()
warn: sizeof(NUMBER)?
Reported-by: Dan Carpenter
Signed-off-by: Alexander Gendin
---
test/cmd/mbr.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/test/cmd/mbr.c b/test
Both FS_LOADER and SPL_FS_LOADER have the same menu prompt.
To avoid confusion, make prompt for SPL_FS_LOADER different.
Signed-off-by: Alexander Gendin
---
drivers/misc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index
On Mon, Nov 06, 2023 at 03:27:52PM -0500, Tom Rini wrote:
> Hey all,
>
> Here's the latest report. I _think_ I passed the right options to
> get_maintainer.pl such that it would only look far enough back in git to
> find the likely authors (along with listed maintainers of the files).
>
> -
Fix Coverity (CID 467404): Control flow issues (DEADCODE).
Fix code indentation.
Reported-by: Coverity (CID 467404)
Signed-off-by: Alexander Gendin
---
test/cmd/mbr.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/test/cmd/mbr.c b/test/cmd/mbr.c
index
found);
- ut_asserteq(3, blk_count_devices(BLKF_BOTH));
+ ut_asserteq(0x47, found);
+ ut_asserteq(4, blk_count_devices(BLKF_BOTH));
found = 0;
blk_foreach_probe(BLKF_FIXED, dev)
@@ -328,8 +344,8 @@ static int dm_test_blk_foreach(struct unit_test_state *uts)
Current code allows up to 3 MBR partitions without extended one.
If more than 3 partitions are required, then extended partition(s)
must be used.
This commit allows up to 4 primary MBR partitions without the
need for extended partition.
Add mbr test unit. In order to use the test, mmc1.img file of
6 matches
Mail list logo