diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 708923b9b623..38a5ff772a37 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -584,7 +584,7 @@ static inline void queue_flag_clear(unsigned int flag, struct request_queue *q) | |||
584 | 584 | ||
585 | #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist) | 585 | #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist) |
586 | 586 | ||
587 | #define rq_data_dir(rq) (((rq)->cmd_flags & 1) != 0) | 587 | #define rq_data_dir(rq) ((int)((rq)->cmd_flags & 1)) |
588 | 588 | ||
589 | /* | 589 | /* |
590 | * Driver can handle struct request, if it either has an old style | 590 | * Driver can handle struct request, if it either has an old style |