diff options
| author | Kyle Spiers <[email protected]> | 2018-06-01 20:20:16 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2018-06-18 14:47:38 +0000 |
| commit | 89a7e2f752859c1a1696adf7b00b6ca9a5da2cda (patch) | |
| tree | 20efdb47f75740523ed334e1f3e816c7b07dc039 /lib/bitmap.c | |
| parent | Linux 4.18-rc1 (diff) | |
| download | kernel-89a7e2f752859c1a1696adf7b00b6ca9a5da2cda.tar.gz kernel-89a7e2f752859c1a1696adf7b00b6ca9a5da2cda.zip | |
async_pq: Remove VLA usage
In the quest to remove VLAs from the kernel[1], this adjusts the
allocation of coefs and blocks to use the existing maximum values
(with one new define, MAX_DISKS for coefs, and a reuse of the
existing NDISKS for blocks).
[1] https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Kyle Spiers <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
