block/zram: Fix comment typo
Subsystems (2)
PATCH 1/1 block/zram: Fix comment typo
The double `range' is duplicated in the comment, remove one.
Signed-off-by Jason Wang <[email protected]>
--- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/zram/zram_drv.c +1 -1
@@ -174,7 +174,7 @@ static inline bool valid_io_request(struct zram *zram, end = start + (size >>SECTOR_SHIFT ); bound = zram->disksize >>SECTOR_SHIFT ; -/* out of range range */ +/* out of range */ if (unlikely (start >= bound || end > bound || start > end))return false;
Signature · 1 line
2.35.1