Loading drivers/staging/zram/zram_drv.c +1 −1 Original line number Diff line number Diff line Loading @@ -180,7 +180,7 @@ static inline int valid_io_request(struct zram *zram, struct bio *bio) end = start + (bio->bi_size >> SECTOR_SHIFT); bound = zram->disksize >> SECTOR_SHIFT; /* out of range range */ if (unlikely(start >= bound || end >= bound || start > end)) if (unlikely(start >= bound || end > bound || start > end)) return 0; /* I/O request is valid */ Loading Loading
drivers/staging/zram/zram_drv.c +1 −1 Original line number Diff line number Diff line Loading @@ -180,7 +180,7 @@ static inline int valid_io_request(struct zram *zram, struct bio *bio) end = start + (bio->bi_size >> SECTOR_SHIFT); bound = zram->disksize >> SECTOR_SHIFT; /* out of range range */ if (unlikely(start >= bound || end >= bound || start > end)) if (unlikely(start >= bound || end > bound || start > end)) return 0; /* I/O request is valid */ Loading