* [patch 4/4] as-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_as-iosched --]
[-- Type: text/plain, Size: 861 bytes --]
From: Victor Fusco <victor@cetuc.puc-rio.br>
Fix the sparse warning "implicit cast to nocast type"
File/Subsystem: drivers/block/as-iosched
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
as-iosched.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: quilt/drivers/block/as-iosched.c
===================================================================
--- quilt.orig/drivers/block/as-iosched.c
+++ quilt/drivers/block/as-iosched.c
@@ -1807,7 +1807,7 @@ static void as_put_request(request_queue
}
static int as_set_request(request_queue_t *q, struct request *rq,
- struct bio *bio, int gfp_mask)
+ struct bio *bio, unsigned int __nocast gfp_mask)
{
struct as_data *ad = q->elevator->elevator_data;
struct as_rq *arq = mempool_alloc(ad->arq_pool, gfp_mask);
--
^ 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 4/4] as-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