Am Sonntag, den 17.01.2010, 19:33 +0100 schrieb [email protected]: […]
> Modified: trunk/util/msrtool/msrutils.c > =================================================================== > --- trunk/util/msrtool/msrutils.c 2010-01-17 14:08:17 UTC (rev 5031) > +++ trunk/util/msrtool/msrutils.c 2010-01-17 18:33:53 UTC (rev 5032) > @@ -193,7 +193,7 @@ > * Parse a hexadecimal string into an MSR value. > * > * Leading 0x or 0X is optional, the string is always parsed as hexadecimal. > - * Any non-hexadecimal character can be used to separate the high 32 bits and > + * Any non-hexadecimal character except ' ' can separate the high 32 bits and > * the low 32 bits. If there is such a separator, high and low values do not > * need to be zero padded. If there is no separator, the last <=8 digits are > * the low 32 bits and any characters before them are the high 32 bits. > @@ -205,15 +205,16 @@ > * @param str The string to parse. The string must be writable but will be > * restored before return. > * @param msr Pointer to the struct msr where the value will be stored. > + * @param endptr If endpotr is not NULL, *endptr will point to after the MSR. s/endpotr/endptr/ […] Please find the diff attached. Trivial! Signed-off-by: Paul Menzel <[email protected]> I did not get the messages with your patches over the list. Just Stefan’s replies.
Index: msrutils.c
===================================================================
--- msrutils.c (Revision 5033)
+++ msrutils.c (Arbeitskopie)
@@ -205,7 +205,7 @@
* @param str The string to parse. The string must be writable but will be
* restored before return.
* @param msr Pointer to the struct msr where the value will be stored.
- * @param endptr If endpotr is not NULL, *endptr will point to after the MSR.
+ * @param endptr If endptr is not NULL, *endptr will point to after the MSR.
* @return 1 on success, 0 on parse failure. msr is unchanged on failure.
*/
uint8_t str2msr(char *str, struct msr *msr, char **endptr) {
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

