mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 2/4] deadline-iosched: fix sparse warnings (__nocast type)
@ 2005-07-07 21:29 domen
  0 siblings, 0 replies; only message in thread
From: domen @ 2005-07-07 21:29 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel, Victor Fusco, domen

[-- Attachment #1: sparse-drivers_block_deadline-iosched --]
[-- Type: text/plain, Size: 851 bytes --]

From: Victor Fusco <victor@cetuc.puc-rio.br>


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

Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
 

---
 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;

--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-07 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 21:29 [patch 2/4] deadline-iosched: fix sparse warnings (__nocast type) domen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®