On Tue, May 11, 2021 at 08:27:49PM -0700, Bart Van Assche wrote: > Before modifying how the __packed attribute is used, add compile time > size checks for the structures that will be modified. > > Cc: Nicolas Morey-Chaisemartin <nmoreychaisemartin@xxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > --- > drivers/infiniband/ulp/srp/ib_srp.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>