Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dfirmware.c392 static int invalid_header(struct hfi1_devdata *dd, const char *what, in invalid_header() function
410 if (invalid_header(dd, "module_type", css->module_type, in verify_css_header()
412 invalid_header(dd, "header_len", css->header_len, in verify_css_header()
414 invalid_header(dd, "header_version", css->header_version, in verify_css_header()
416 invalid_header(dd, "module_vendor", css->module_vendor, in verify_css_header()
418 invalid_header(dd, "key_size", css->key_size, KEY_SIZE / 4) || in verify_css_header()
419 invalid_header(dd, "modulus_size", css->modulus_size, in verify_css_header()
421 invalid_header(dd, "exponent_size", css->exponent_size, in verify_css_header()