Bug 216015

Summary: kfifo.c __kfifo_alloc function call kmalloc_array parameter error
Product: Other Reporter: Ma Shaohua (1455793380)
Component: ModulesAssignee: other_modules
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Ma Shaohua 2022-05-22 14:33:40 UTC
code
fifo->data = kmalloc_array(esize, size, gfp_mask);
should be
fifo->data = kmalloc_array(size, esize, gfp_mask);