]> git.baikalelectronics.ru Git - kernel.git/commit
mctp: Be explicit about struct sockaddr_mctp padding
authorJeremy Kerr <jk@codeconstruct.com.au>
Mon, 18 Oct 2021 03:29:35 +0000 (11:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2021 12:47:09 +0000 (13:47 +0100)
commit5a20dd46b8b8459382685969cf0f196ae9fb9766
treecfdd5ddf4a01fefb647a9bc86044fc9839f7b904
parentb416beb25d9317499c823aea1522eefd8d72ea36
mctp: Be explicit about struct sockaddr_mctp padding

We currently have some implicit padding in struct sockaddr_mctp. This
patch makes this padding explicit, and ensures we have consistent
layout on platforms with <32bit alignmnent.

Fixes: 60fc63981693 ("mctp: Add sockaddr_mctp to uapi")
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/mctp.h