Home
last modified time | relevance | path

Searched refs:code_ver (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/samples/mei/
H A Dmei-amt-version.c320 struct amt_code_versions *code_ver; in amt_verify_code_versions() local
326 code_ver = (struct amt_code_versions *)resp->data; in amt_verify_code_versions()
330 sizeof(code_ver->bios) - in amt_verify_code_versions()
331 sizeof(code_ver->count); in amt_verify_code_versions()
332 if (code_ver->count != ver_type_cnt / sizeof(struct amt_version_type)) { in amt_verify_code_versions()
337 for (i = 0; i < code_ver->count; i++) { in amt_verify_code_versions()
338 len = code_ver->versions[i].description.length; in amt_verify_code_versions()
345 len = code_ver->versions[i].version.length; in amt_verify_code_versions()
346 if (code_ver->versions[i].version.string[len] != '\0' || in amt_verify_code_versions()
347 len != strlen(code_ver->versions[i].version.string)) { in amt_verify_code_versions()