diff options
| author | 2016-10-13 11:06:47 +0300 | |
|---|---|---|
| committer | 2016-11-26 16:50:03 +0100 | |
| commit | 193e87143c290ec16838f5368adc0e0bc94eb931 (patch) | |
| tree | 7eb4f0d0fdad49721fc8597a0cc88fa8d3a14722 /include/linux/fpga/fpga-mgr.h | |
| parent | mtd: spi-nor: add support for s25fl208k (diff) | |
| download | wireguard-linux-193e87143c290ec16838f5368adc0e0bc94eb931.tar.xz wireguard-linux-193e87143c290ec16838f5368adc0e0bc94eb931.zip | |
mtd: spi-nor: Off by one in cqspi_setup_flash()
There are CQSPI_MAX_CHIPSELECT elements in the ->f_pdata array so the >
should be >=.
Fixes: 140623410536 ('mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
