From: Eran Ben Elisha <era...@mellanox.com>
Date: Fri, 23 Aug 2019 15:34:47 +0300

> Return code value could be non deterministic in case of wrong size read.
> With this patch, if such error occurs, set rc to be -EIO.
> 
> In addition, mlx5_hv_config_common() supports reading of
> HV_CONFIG_BLOCK_SIZE_MAX bytes only, fix to early return error with
> bad input.
> 
> Fixes: 913d14e86657 ("net/mlx5: Add wrappers for HyperV PCIe operations")
> Reported-by: Leon Romanovsky <l...@kernel.org>
> Signed-off-by: Eran Ben Elisha <era...@mellanox.com>

Applied, thank you.

Reply via email to