On Thu, Nov 9, 2017 at 1:08 PM, Vishal Verma <vishal.l.verma(a)intel.com> wrote:
The input/output size bounds being set in the various nd_bus_cmd_new_*
helpers for error injection commands were larger than they needed to be,
and platforms could reject these. Fix the bounds to be exactly as the
Cc: Dan Williams <dan.j.williams(a)intel.com>
Reported-by: Dariusz Dokupil <dariusz.dokupil(a)intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma(a)intel.com>
ndctl/lib/nfit.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
v2: set the in/out sizes based explicitly on the sizes/offsets in the
cmd structure so that their relationship becomes obvious (Dan).
Looks good, thanks for fixing that up.