Bug 216015 - kfifo.c __kfifo_alloc function call kmalloc_array parameter error
Summary: kfifo.c __kfifo_alloc function call kmalloc_array parameter error
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Modules (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_modules
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-22 14:33 UTC by Ma Shaohua
Modified: 2022-05-22 14:33 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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);

Note You need to log in before you can comment on or make changes to this bug.