Re: [PATCH net-next 2/2] mctp: handle the struct sockaddr_mctp_ext padding field
From: Jakub Kicinski
Date: Tue Nov 02 2021 - 20:55:44 EST
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.
> +}