[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211102175537.0a004f77@kicinski-fedora-PC1C0HJN>
Date: Tue, 2 Nov 2021 17:55:37 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Eugene Syromiatnikov <esyr@...hat.com>
Cc: Jeremy Kerr <jk@...econstruct.com.au>,
Matt Johnston <matt@...econstruct.com.au>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] mctp: handle the struct sockaddr_mctp_ext
padding field
On Mon, 1 Nov 2021 18:54:53 +0100 Eugene Syromiatnikov wrote:
> +static bool mctp_sockaddr_ext_is_ok(const struct sockaddr_mctp_ext *addr)
> +{
> + return !addr->__smctp_pad0[0]
> + && !addr->__smctp_pad0[1]
> + && !addr->__smctp_pad0[2];
&& at the end of the previous line please. Checkpatch will point those
out to you.
> +}
Powered by blists - more mailing lists