[S390] dcss: Fix Unlikely(x) != y
Fix Unlikely(x) != y Cc: Gerald Schaefer <geraldsc@de.ibm.com> Cc: Stefan Weinhuber <wein@de.ibm.com> Cc: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
d082d3ce32
commit
39f73b2886
|
@ -666,7 +666,7 @@ dcssblk_make_request(struct request_queue *q, struct bio *bio)
|
||||||
page_addr = (unsigned long)
|
page_addr = (unsigned long)
|
||||||
page_address(bvec->bv_page) + bvec->bv_offset;
|
page_address(bvec->bv_page) + bvec->bv_offset;
|
||||||
source_addr = dev_info->start + (index<<12) + bytes_done;
|
source_addr = dev_info->start + (index<<12) + bytes_done;
|
||||||
if (unlikely(page_addr & 4095) != 0 || (bvec->bv_len & 4095) != 0)
|
if (unlikely((page_addr & 4095) != 0) || (bvec->bv_len & 4095) != 0)
|
||||||
// More paranoia.
|
// More paranoia.
|
||||||
goto fail;
|
goto fail;
|
||||||
if (bio_data_dir(bio) == READ) {
|
if (bio_data_dir(bio) == READ) {
|
||||||
|
|
Loading…
Reference in a new issue