@@ -511,7 +511,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchBrcmPath) {
511511 memset (&info, 0 , sizeof (info));
512512 set_hal_test_soc (&ctx, HalTestSoc::Brcm);
513513
514- int rc = get_hardware_reason (&ctx, &hw, &info );
514+ int rc = get_hardware_reason (&ctx, &hw);
515515 EXPECT_EQ (rc, SUCCESS );
516516 EXPECT_NE (hw.mappedReason [0 ], ' \0 ' );
517517}
@@ -525,7 +525,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchAmlogicPath) {
525525 memset (&info, 0 , sizeof (info));
526526 set_hal_test_soc (&ctx, HalTestSoc::Amlogic);
527527
528- int rc = get_hardware_reason (&ctx, &hw, &info );
528+ int rc = get_hardware_reason (&ctx, &hw);
529529 EXPECT_EQ (rc, SUCCESS );
530530 EXPECT_STREQ (hw.mappedReason , " UNKNOWN" );
531531}
@@ -539,7 +539,7 @@ TEST_F(LogParserTest, get_hardware_reason_UnknownSocFallsBackToUnknown) {
539539 memset (&info, 0 , sizeof (info));
540540 set_hal_test_soc (&ctx, HalTestSoc::Unknown);
541541
542- int rc = get_hardware_reason (&ctx, &hw, &info );
542+ int rc = get_hardware_reason (&ctx, &hw);
543543 EXPECT_EQ (rc, SUCCESS );
544544 EXPECT_NE (hw.mappedReason [0 ], ' \0 ' );
545545}
@@ -565,7 +565,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchRtkAliasPath) {
565565 memset (&info, 0 , sizeof (info));
566566 set_hal_test_soc (&ctx, HalTestSoc::Realtek);
567567
568- int rc = get_hardware_reason (&ctx, &hw, &info );
568+ int rc = get_hardware_reason (&ctx, &hw);
569569 EXPECT_EQ (rc, SUCCESS );
570570 EXPECT_STREQ (hw.mappedReason , " UNKNOWN" );
571571}
@@ -579,7 +579,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchMtkPath) {
579579 memset (&info, 0 , sizeof (info));
580580 set_hal_test_soc (&ctx, HalTestSoc::Mtk);
581581
582- int rc = get_hardware_reason (&ctx, &hw, &info );
582+ int rc = get_hardware_reason (&ctx, &hw);
583583 EXPECT_TRUE (rc == SUCCESS || rc == FAILURE || rc == ERROR_GENERAL );
584584}
585585
@@ -592,7 +592,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchBroadcomAliasPath) {
592592 memset (&info, 0 , sizeof (info));
593593 set_hal_test_soc (&ctx, HalTestSoc::Broadcom);
594594
595- int rc = get_hardware_reason (&ctx, &hw, &info );
595+ int rc = get_hardware_reason (&ctx, &hw);
596596 EXPECT_EQ (rc, SUCCESS );
597597 EXPECT_STREQ (hw.mappedReason , " UNKNOWN" );
598598}
@@ -606,7 +606,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchMediatekAliasPath) {
606606 memset (&info, 0 , sizeof (info));
607607 set_hal_test_soc (&ctx, HalTestSoc::Mediatek);
608608
609- int rc = get_hardware_reason (&ctx, &hw, &info );
609+ int rc = get_hardware_reason (&ctx, &hw);
610610 EXPECT_TRUE (rc == SUCCESS || rc == FAILURE || rc == ERROR_GENERAL );
611611}
612612
@@ -618,7 +618,7 @@ TEST_F(LogParserTest, get_hardware_reason_EmptySocFallbackPath) {
618618 memset (&hw, 0 , sizeof (hw));
619619 memset (&info, 0 , sizeof (info));
620620
621- int rc = get_hardware_reason (&ctx, &hw, &info );
621+ int rc = get_hardware_reason (&ctx, &hw);
622622 EXPECT_EQ (rc, SUCCESS );
623623 EXPECT_NE (hw.mappedReason [0 ], ' \0 ' );
624624}
@@ -650,7 +650,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchAmlogicUsesReadPath) {
650650 memset (&info, 0 , sizeof (info));
651651 set_hal_test_soc (&ctx, HalTestSoc::Amlogic);
652652
653- EXPECT_EQ (get_hardware_reason (&ctx, &hw, &info ), SUCCESS );
653+ EXPECT_EQ (get_hardware_reason (&ctx, &hw), SUCCESS );
654654 EXPECT_STREQ (hw.mappedReason , " UNKNOWN" );
655655 EXPECT_EQ (info.reason [0 ], ' \0 ' );
656656}
@@ -668,7 +668,7 @@ TEST_F(LogParserTest, get_hardware_reason_DispatchMtkUsesReadPath) {
668668 set_hal_test_soc (&ctx, HalTestSoc::Mediatek);
669669 strncpy (info.timestamp , " 2026-03-10T11:22:33Z" , sizeof (info.timestamp ) - 1 );
670670
671- EXPECT_EQ (get_hardware_reason (&ctx, &hw, &info ), SUCCESS );
671+ EXPECT_EQ (get_hardware_reason (&ctx, &hw), SUCCESS );
672672 EXPECT_STREQ (hw.mappedReason , " UNKNOWN" );
673673 EXPECT_EQ (info.reason [0 ], ' \0 ' );
674674 EXPECT_STREQ (info.timestamp , " 2026-03-10T11:22:33Z" );
0 commit comments