diff options
| author | Alice Guo <[email protected]> | 2026-06-18 09:17:49 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-26 16:50:55 -0300 |
| commit | 8c051851a5770a3e09e2e7815d963b4a6078407e (patch) | |
| tree | 374f1aed260f2b435db001ead27624153bcc812c /include | |
| parent | 3232cd38b4f6700b8512d1115da0135cae466fbc (diff) | |
imx9: scmi: use 48-bit MAC add instead of incrementing mac[5]
Replace mac[5] += offset with a proper 48-bit MAC address add to avoid
overflow issues when mac[5] was close to 255.
Example:
i.MX95 MAC2: 00:11:22:33:44:FE + 6
Old: 00:11:22:33:44:04 (overflow, wraps to 0)
New: 00:11:22:33:45:04 (correct carry from mac[5] to mac[4])
Signed-off-by: Alice Guo <[email protected]>
Signed-off-by: Ye Li <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
