mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c61e5644c6
The function hisi_acc_create_sg_pool may allocate a block of
memory of size PAGE_SIZE * 2^(MAX_ORDER - 1). This value may
exceed 2^31 on ia64, which would overflow the u32.
This patch caps it at 2^31.
Reported-by: kernel test robot <lkp@intel.com>
Fixes:
|
||
---|---|---|
.. | ||
hpre | ||
sec | ||
sec2 | ||
zip | ||
Kconfig | ||
Makefile | ||
qm.c | ||
qm.h | ||
sgl.c |