diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index 70254ae117690c40fa40692bbf790c13cfcdacdf..31eb92876be7ccf2d48f6c453f312b371bcdda50 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -198,7 +198,7 @@ struct bio { * double allocations for a small number of bio_vecs. This member * MUST obviously be kept at the very end of the bio. */ - struct bio_vec bi_inline_vecs[0]; + struct bio_vec bi_inline_vecs[]; }; #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs)