Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/ath/carl9170/
Dfw.c44 unsigned int pos_length; in carl9170_fw_verify_descs() local
59 pos_length = le16_to_cpu(pos->length); in carl9170_fw_verify_descs()
61 if (pos_length < sizeof(*head)) in carl9170_fw_verify_descs()
64 if (pos_length > max_len) in carl9170_fw_verify_descs()
67 if (pos_addr + pos_length > end_addr) in carl9170_fw_verify_descs()
75 pos_addr += pos_length; in carl9170_fw_verify_descs()
77 max_len -= pos_length; in carl9170_fw_verify_descs()