On Fri, Jun 03, 2016 at 11:39:35AM -0700, Bart Van Assche wrote: > Avoid that mapping fails due to use_fast_reg != 0 or use_fmr != 0 > if both member variables should be zero (if never_register == 1 or > if neither FMR nor FR is supported). Remove an initialization that > became superfluous due to changing a kmalloc() into a kzalloc() > call. > > Fixes: 509c5f33f4f6 ("IB/srp: Prevent mapping failures") > Cc: Sagi Grimberg <sai@grimberg.m> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Laurence Oberman <loberman@xxxxxxxxxx> > Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: Digital signature