mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 1/1] dm-crypt: Fix "nocast type" warnings
@ 2005-07-14 21:42 domen
  0 siblings, 0 replies; only message in thread
From: domen @ 2005-07-14 21:42 UTC (permalink / raw)
  To: clemens; +Cc: linux-kernel, Victor Fusco, domen

[-- Attachment #1: sparse-drivers_md_dm-crypt --]
[-- Type: text/plain, Size: 767 bytes --]

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

--

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-14 21:42 [patch 1/1] dm-crypt: Fix "nocast type" warnings 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®