No subject


Sun Dec 9 17:34:17 CET 2012


> +		if (memcmp(cmos_entry->name, name, len))
..

> +#define CB_TAG_OPTION         0x00c9
> +#define CMOS_MAX_NAME_LENGTH    32
> +struct cb_cmos_entries {
> +	u32 tag;
> +	u32 size;
> +	u32 bit;
> +	u32 length;
> +	u32 config;
> +	u32 config_id;
> +	u8 name[CMOS_MAX_NAME_LENGTH];
> +};

memcmp() expects char *

What should change? I'm thinking memcmp() and friends.


Later revisions breaks more stuff. :\


//Peter




More information about the coreboot mailing list