[S390] dcss: Fix Unlikely(x) != y
authorRoel Kluin <[email protected]>
Tue, 19 Feb 2008 14:29:33 +0000 (15:29 +0100)
committerMartin Schwidefsky <[email protected]>
Tue, 19 Feb 2008 14:29:35 +0000 (15:29 +0100)
Fix Unlikely(x) != y

Cc: Gerald Schaefer <[email protected]>
Cc: Stefan Weinhuber <[email protected]>
Cc: Carsten Otte <[email protected]>
Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
drivers/s390/block/dcssblk.c

index 3faf0538b328d8b029357c7aa15cd0d397e3a78e..e6c94dbfdeaa8f7a744fbb5e08708f61e8bfe4f3 100644 (file)
@@ -666,7 +666,7 @@ dcssblk_make_request(struct request_queue *q, struct bio *bio)
                page_addr = (unsigned long)
                        page_address(bvec->bv_page) + bvec->bv_offset;
                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.
                        goto fail;
                if (bio_data_dir(bio) == READ) {