commit | 660149b50073d4bfcead75153eb9082811df9391 | [log] [tgz] |
---|---|---|
author | Peter A. Bigot <pab@pabigot.com> | Mon Jul 22 16:09:12 2019 -0500 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed Jul 24 09:20:56 2019 -0400 |
tree | a6f5f2da1b9c7a6d523f0cb1627c49c26dfba997 | |
parent | fa10a9640b3acd79f9cf7e150f540c2ef1cb2459 [diff] |
drivers/spi_nor: fix writes across page boundaries The previous code limited the length of a write to the size of a page, but did not check whether the starting position was far enough into the page that the write would still cross a page boundary. Signed-off-by: Peter A. Bigot <pab@pabigot.com>