diff options
author | Jesper Schmitz Mouridsen <jesper@schmitz.computer> | 2021-02-09 17:17:17 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-02-21 09:21:35 +0100 |
commit | e67beffee0795fbe3c2c6e65d9b63eb2b96897a2 (patch) | |
tree | fd0b5f8ef06944ecc145b65fd7277a7babcae425 /drivers/i2c/nx_i2c.c | |
parent | ea966d24ef3a9f7f32712a518a07374f9ae43905 (diff) |
Allow last block to be read
The last block is of size media->block_size
Signed-off-by: Jesper Schmitz Mouridsen <jesper@schmitz.computer>
Simplify expression.
Apply same change to efi_disk_write_blocks().
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/i2c/nx_i2c.c')
0 files changed, 0 insertions, 0 deletions