summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-03-26 00:26:48 +0300
committerLeon Romanovsky <leonro@nvidia.com>2026-03-31 10:11:01 +0300
commit8d7573b194021b0b2baee9a8c563af488be733be (patch)
tree6357cb9c1718f9c3b71b78d94ac888f71029ee2e /include/linux/root_dev.h
parentae638288b2026224ab56c18b980935b4f2dfd8d0 (diff)
downloadlinux-8d7573b194021b0b2baee9a8c563af488be733be.tar.xz
RDMA: Consolidate patterns with offsetof() to ib_copy_validate_udata_in()
Similar to the prior patch, these patterns are open coding an offsetofend(). The use of offsetof() targets the prior field as the last field in the struct. Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions