diff options
| author | Kent Overstreet <[email protected]> | 2018-06-05 09:26:33 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-06-05 14:47:43 +0000 |
| commit | d377535405686f735b90a8ad4ba269484cd7c96e (patch) | |
| tree | 75c1e73537f2821874bdb1c49f84e65d6abcd958 /drivers/fpga/machxo2-spi.c | |
| parent | blk-mq: return when hctx is stopped in blk_mq_run_work_fn (diff) | |
| download | kernel-d377535405686f735b90a8ad4ba269484cd7c96e.tar.gz kernel-d377535405686f735b90a8ad4ba269484cd7c96e.zip | |
dm: Use kzalloc for all structs with embedded biosets/mempools
mempool_init()/bioset_init() require that the mempools/biosets be zeroed
first; they probably should not _require_ this, but not allocating those
structs with kzalloc is a fairly nonsensical thing to do (calling
mempool_exit()/bioset_exit() on an uninitialized mempool/bioset is legal
and safe, but only works if said memory was zeroed.)
Acked-by: Mike Snitzer <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
