[patch 2/4] deadline-iosched: fix sparse warnings (__nocast type)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Victor Fusco <[email protected]>


Fix the sparse warning "implicit cast to nocast type"
 
File/Subsystem: drivers/block/deadline-iosched

Signed-off-by: Victor Fusco <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
 

---
 deadline-iosched.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: quilt/drivers/block/deadline-iosched.c
===================================================================
--- quilt.orig/drivers/block/deadline-iosched.c
+++ quilt/drivers/block/deadline-iosched.c
@@ -761,7 +761,7 @@ static void deadline_put_request(request
 
 static int
 deadline_set_request(request_queue_t *q, struct request *rq, struct bio *bio,
-		     int gfp_mask)
+		    unsigned int __nocast gfp_mask)
 {
 	struct deadline_data *dd = q->elevator->elevator_data;
 	struct deadline_rq *drq;

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux