99f47abd9f
Potentially overflowing expression (ts_freq << 16 and intgr << 16)
declared as type u32 (32-bit unsigned) is evaluated using 32-bit
arithmetic and then used in a context that expects an expression of
type u64 (64-bit unsigned) which ultimately is used as 16-bit
unsigned by typecasting to u16. Fixed by using an unsigned 32-bit
integer since the value is truncated anyway in the end.
Fixes:
|
||
---|---|---|
.. | ||
fman_dtsec.c | ||
fman_dtsec.h | ||
fman_keygen.c | ||
fman_keygen.h | ||
fman_mac.h | ||
fman_memac.c | ||
fman_memac.h | ||
fman_muram.c | ||
fman_muram.h | ||
fman_port.c | ||
fman_port.h | ||
fman_sp.c | ||
fman_sp.h | ||
fman_tgec.c | ||
fman_tgec.h | ||
fman.c | ||
fman.h | ||
Kconfig | ||
mac.c | ||
mac.h | ||
Makefile |