[PATCH] 2.6 rtas_flash_init() typo

John Rose johnrose at austin.ibm.com
Tue May 4 06:11:01 EST 2004


Hi Anton-

Please apply the following, which fixes a typo that prevents the
creation of the manage_flash /proc file.

Thanks-
John

diff -urpN sles9-vanilla/arch/ppc64/kernel/rtas_flash.c sles9-new/arch/ppc64/kernel/rtas_flash.c
--- sles9-vanilla/arch/ppc64/kernel/rtas_flash.c        2021-04-27 18:56:14.000000000 -0500
+++ sles9-new/arch/ppc64/kernel/rtas_flash.c    2021-04-27 18:53:54.000000000 -0500
@@ -692,7 +692,7 @@ int __init rtas_flash_init(void)
        if (rc != 0)
                goto cleanup;

-       manage_pde = create_flash_pde("ppc64/rtas" MANAGE_FLASH_NAME,
+       manage_pde = create_flash_pde("ppc64/rtas/" MANAGE_FLASH_NAME,
                                      &manage_flash_operations);
        if (manage_pde == NULL) {
                rc = -ENOMEM;


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list