diff options
author | Jackie Liu <liuyun01@kylinos.cn> | 2019-05-15 16:52:19 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-16 08:48:48 -0600 |
commit | 7a102d9044e720ac887c0cd82b6d5cad236f6d71 (patch) | |
tree | 7bd4c85df02657d132a96bbebfcf36c342977977 /init/main.c | |
parent | 47ca23c1176a9e499d4652b33e398a7ddb0bef47 (diff) | |
download | linux-7a102d9044e720ac887c0cd82b6d5cad236f6d71.tar.bz2 |
block/bio-integrity: use struct_size() in kmalloc()
Use the new struct_size() helper to keep code simple.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions