On Thursday, 18 November 2021 15:14:52 CET Anilkumar Kolli wrote: > + if (of_property_read_u32_array(hremote_node, "reg", reg, 4)) { > + ath11k_dbg(ab, ATH11K_DBG_QMI, > + "qmi fail to get reg from hremote\n"); > + return 0; > + } > + > + start = reg[0] + reg[1]; > + size = reg[2] + reg[3]; That cannot be correct. Since when can upper 32 bit and lower 32 bit of an u64 be combined with a simple "+" and no shifting? And why can you operate on the reg without getting the address + size cell count? Kind regards, Sven
Attachment:
signature.asc
Description: This is a digitally signed message part.