Re: [patch] cxlflash: off by one bug in cxlflash_show_port_status()

2015-08-15 Thread Matthew R. Ochs
> On Aug 14, 2015, at 3:35 PM, Dan Carpenter wrote: > > The > should be >= or we read one element past the end of the array. Dan - Good catch! Acked-by: Matthew R. Ochs > > Fixes: c21e0bbfc485 ('cxlflash: Base support for IBM CXL Flash Adapter') > Signed-off-by: Dan Carpenter > > Fixes: c2

[patch] cxlflash: off by one bug in cxlflash_show_port_status()

2015-08-14 Thread Dan Carpenter
The > should be >= or we read one element past the end of the array. Fixes: c21e0bbfc485 ('cxlflash: Base support for IBM CXL Flash Adapter') Signed-off-by: Dan Carpenter Fixes: c21e0bbfc485 ('cxlflash: Base support for IBM CXL Flash Adapter') diff --git a/drivers/scsi/cxlflash/main.c b/drivers/