[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211018120014.GB22725@asgard.redhat.com>
Date: Mon, 18 Oct 2021 14:00:14 +0200
From: Eugene Syromiatnikov <esyr@...hat.com>
To: Jeremy Kerr <jk@...econstruct.com.au>
Cc: netdev@...r.kernel.org, Matt Johnston <matt@...econstruct.com.au>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH net 1/2] mctp: unify sockaddr_mctp types
On Mon, Oct 18, 2021 at 11:29:34AM +0800, Jeremy Kerr wrote:
> Use the more precise __kernel_sa_family_t for smctp_family, to match
> struct sockaddr.
>
> Also, use an unsigned int for the network member; negative networks
> don't make much sense. We're already using unsigned for mctp_dev and
> mctp_skb_cb, but need to change mctp_sock to suit.
>
> Fixes: 60fc63981693 ("mctp: Add sockaddr_mctp to uapi")
> Signed-off-by: Jeremy Kerr <jk@...econstruct.com.au>
Acked-by: Eugene Syromiatnikov <esyr@...hat.com>
Powered by blists - more mailing lists