commit | 46c6d45d7875a0328258a574e376ae75f7b2a64b | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Aug 14 23:35:25 2015 +0300 |
committer | James Bottomley <JBottomley@Odin.com> | Wed Aug 26 18:06:31 2015 -0700 |
tree | 53b1301b826c4d1385a50954859406830c649a79 | |
parent | 2cb79266d6b229dbebd31fe114af1bdab25c8076 [diff] |
cxlflash: off by one bug in cxlflash_show_port_status() 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 <dan.carpenter@oracle.com> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>