Resolve stack overflow risks for algqos api. Invalid parameter checking is added. And simplify some code. changes v1->v2: - modify a comment. changes v2->v3: - document the stack overflow cause. Kai Ye (3): crypto: hisilicon/qm - increase the memory of local variables crypto: hisilicon/qm - add pci bdf number check crypto: hisilicon/qm - delete redundancy check drivers/crypto/hisilicon/qm.c | 43 +++++++++++------------------------ 1 file changed, 13 insertions(+), 30 deletions(-) -- 2.17.1