[PATCH] minor fixes for proc_ppc64.c

Nathan Lynch nathanl at austin.ibm.com
Tue Nov 4 11:49:26 EST 2003


Hi-

This fixes the following problems with the device node addition code:

- An off-by-one bug that causes the /proc/ppc64/ofdt command "parser" to
get confused.

- A failure to nul-terminate property values which are ascii strings.
This would cause oopses in routines such as of_find_by_name.  Thanks to
Dave Engebretsen for tracking this down.

Nathan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: proc_ppc64_cleanup.patch
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20031103/8bb54d56/attachment.txt 


More information about the Linuxppc64-dev mailing list