Skip to content

Commit 76b4957

Browse files
committed
kboot_atc: Fix typo in tunable_common_b
Signed-off-by: Janne Grunau <[email protected]>
1 parent 043bc79 commit 76b4957

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/kboot_atc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,12 +409,12 @@ static void dt_copy_atc_tunables(void *dt, const char *adt_path, const char *dt_
409409
* Don't remove this before 2027-01-01.
410410
*/
411411
int prop_len;
412-
const void *tunable_common_a = fdt_getprop(dt, fdt_node, "apple,tunable-common-b", &prop_len);
413-
if (!tunable_common_a) {
412+
const void *tunable_common_b = fdt_getprop(dt, fdt_node, "apple,tunable-common-b", &prop_len);
413+
if (!tunable_common_b) {
414414
printf("kboot: Unable to find apple,tunable-common-b for %s\n", adt_path);
415415
goto cleanup;
416416
}
417-
ret = fdt_setprop(dt, fdt_node, "apple,tunable-common", tunable_common_a, prop_len);
417+
ret = fdt_setprop(dt, fdt_node, "apple,tunable-common", tunable_common_b, prop_len);
418418
if (ret) {
419419
printf("kboot: Unable to copy apple,tunable-common-b to apple,tunable-common for %s\n",
420420
adt_path);

0 commit comments

Comments
 (0)