]> git.baikalelectronics.ru Git - kernel.git/commit
Convert infiniband uverbs to struct_size
authorMatthew Wilcox <mawilcox@microsoft.com>
Thu, 7 Jun 2018 14:57:16 +0000 (07:57 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 12 Jun 2018 23:19:22 +0000 (16:19 -0700)
commit8466da9c74d99958b810d317ad1c2b6b6186d673
tree70bce312ae6b47e962a8623e64dd2c525a013116
parent6431e490f02d17b5f9d1ec8fb929c11d24c34b68
Convert infiniband uverbs to struct_size

The flows were hidden from the C compiler; expose them as a zero-length
array to allow struct_size to work.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/infiniband/core/uverbs_cmd.c
include/rdma/ib_verbs.h