lkml.org 
[lkml]   [2005]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 1/1] dm-crypt: Fix "nocast type" warnings
From: Victor Fusco <victor@cetuc.puc-rio.br>


Fix the sparse warning "implicit cast to nocast type"

File/Subsystem:drivers/md/dm-crypt.c

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

--

---
dm-crypt.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: quilt/drivers/md/dm-crypt.c
===================================================================
--- quilt.orig/drivers/md/dm-crypt.c
+++ quilt/drivers/md/dm-crypt.c
@@ -330,7 +330,7 @@ crypt_alloc_buffer(struct crypt_config *
{
struct bio *bio;
unsigned int nr_iovecs = (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
- int gfp_mask = GFP_NOIO | __GFP_HIGHMEM;
+ unsigned int gfp_mask = GFP_NOIO | __GFP_HIGHMEM;
unsigned int i;

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

\
 
 \ /
  Last update: 2005-07-15 00:00    [W:0.039 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site