Skip to contentSkip to conversation

block/zram: Fix comment typo

PATCH New Jason Wang 1 participant 1 message Aug 2, 2022

Subsystems (2)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 block/zram: Fix comment typo

The double `range' is duplicated in the comment, remove one.

---
 drivers/block/zram/zram_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/zram/zram_drv.c +1 -1
index 92cb929a45b7..0db84d3fc585 100644
@@ -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