Re: [PATCH net 1/2] net/smc: use __aigned_u64 for 64-bit smc_diag fields

From: Sergei Shtylyov
Date: Sun Oct 07 2018 - 04:32:36 EST


Hello!

On 10/6/2018 11:32 PM, Eugene Syromiatnikov wrote:

Commit v4.19-rc1~140^2~507^2~1 ("net/smc: add SMC-D diag support")

You have the SHA1 below in the "Fixes:" tag, need the same 12 digits here.

introduced new UAPI-exposed structure, struct smcd_diag_dmbinfo.
However, it's not usable by compat binaries, as it has different
layout there. Probably, the most straightforward fix that will avoid
the similar issues in the future is to use __aligned_u64 for 64-bit
fields.

Fixes: 4b1b7d3b30a6 ("net/smc: add SMC-D diag support")
Signed-off-by: Eugene Syromiatnikov <esyr@xxxxxxxxxx>
[...]

MBR, Sergei