Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dfirmware.c349 static int invalid_header(struct hfi1_devdata *dd, const char *what, in invalid_header() function
367 if (invalid_header(dd, "module_type", css->module_type, in verify_css_header()
369 invalid_header(dd, "header_len", css->header_len, in verify_css_header()
371 invalid_header(dd, "header_version", css->header_version, in verify_css_header()
373 invalid_header(dd, "module_vendor", css->module_vendor, in verify_css_header()
375 invalid_header(dd, "key_size", css->key_size, KEY_SIZE / 4) || in verify_css_header()
376 invalid_header(dd, "modulus_size", css->modulus_size, in verify_css_header()
378 invalid_header(dd, "exponent_size", css->exponent_size, in verify_css_header()