Re: [U-Boot] [PATCH v3 1/3] lib: add uuid_str_to_bin for use with bootp and PXE uuid

2011-07-26 Thread Jason Hobbs
On Mon, Jul 25, 2011 at 11:37:34PM +0200, Wolfgang Denk wrote: +void uuid_str_to_bin(const char *uuid, unsigned char *out) I will add a separate function to verify the format of a UUID string. It doesn't belong in this function, which otherwise only needs to read the string once. It will check

Re: [U-Boot] [PATCH v3 1/3] lib: add uuid_str_to_bin for use with bootp and PXE uuid

2011-07-25 Thread Wolfgang Denk
Dear Jason Hobbs, In message 1309366710-17400-2-git-send-email-jason.ho...@calxeda.com you wrote: Signed-off-by: Jason Hobbs jason.ho...@calxeda.com ... +void uuid_str_to_bin(const char *uuid, unsigned char *out) +{ + uint16_t tmp16; + uint32_t tmp32; + uint64_t tmp64; + +

[U-Boot] [PATCH v3 1/3] lib: add uuid_str_to_bin for use with bootp and PXE uuid

2011-06-29 Thread Jason Hobbs
Signed-off-by: Jason Hobbs jason.ho...@calxeda.com --- Changes for v2: - Move uuid_str_to_bin's prototype from uuid. to common.h - Place uuid.o make rule in sorted order and conditionalize Changes for v3: - Check for NULL pointers in uuid conversion function include/common.h |3 +++