All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH 2.6.13-rc1 9/17] fix sparse warnings (__nocast type)
@ 2005-07-03 18:57 Victor Fusco
  2005-07-03 20:01 ` Victor Fusco
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Victor Fusco @ 2005-07-03 18:57 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

Description:
	Fix the sparse warning "implicit cast to nocast type"
 
File/Subsystem: fs/reiserfs

Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
 

[-- Attachment #2: reiserfs_fs.patch --]
[-- Type: text/x-diff, Size: 760 bytes --]

 include/linux/reiserfs_fs.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-git/include/linux/reiserfs_fs.h
===================================================================
--- linux-2.6-git.orig/include/linux/reiserfs_fs.h	2005-07-01 17:48:51.000000000 +0000
+++ linux-2.6-git/include/linux/reiserfs_fs.h	2005-07-03 14:15:48.000000000 +0000
@@ -2008,7 +2008,7 @@
 void * reiserfs_kmalloc (size_t size, int flags, struct super_block * s);
 void reiserfs_kfree (const void * vp, size_t size, struct super_block * s);
 #else
-static inline void *reiserfs_kmalloc(size_t size, int flags,
+static inline void *reiserfs_kmalloc(size_t size, unsigned int __nocast flags,
 					struct super_block *s)
 {
 	return kmalloc(size, flags);

[-- Attachment #3: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-06  2:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-03 18:57 [KJ] [PATCH 2.6.13-rc1 9/17] fix sparse warnings (__nocast type) Victor Fusco
2005-07-03 20:01 ` Victor Fusco
2005-07-03 22:36 ` Alexey Dobriyan
2005-07-06  2:03 ` Victor Fusco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.