* [KJ] [PATCH 2.6.13-c1 1/17] fix sparse warnings (__nocast type)
@ 2005-07-03 18:41 Victor Fusco
2005-07-03 22:08 ` Alexey Dobriyan
0 siblings, 1 reply; 2+ messages in thread
From: Victor Fusco @ 2005-07-03 18:41 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
Description:
Fix the sparse warning "implicit cast to nocast type"
File/Subsystem: include/linux/gfp.h
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
[-- Attachment #2: gfp.patch --]
[-- Type: text/x-diff, Size: 623 bytes --]
include/linux/gfp.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6-git/include/linux/gfp.h
===================================================================
--- linux-2.6-git.orig/include/linux/gfp.h 2005-07-01 17:48:50.000000000 +0000
+++ linux-2.6-git/include/linux/gfp.h 2005-07-03 14:16:51.000000000 +0000
@@ -12,8 +12,8 @@
* GFP bitmasks..
*/
/* Zone modifiers in GFP_ZONEMASK (see linux/mmzone.h - low two bits) */
-#define __GFP_DMA 0x01
-#define __GFP_HIGHMEM 0x02
+#define __GFP_DMA 0x01u
+#define __GFP_HIGHMEM 0x02u
/*
* Action modifiers - doesn't change the zoning
[-- 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] 2+ messages in thread
* Re: [KJ] [PATCH 2.6.13-c1 1/17] fix sparse warnings (__nocast type)
2005-07-03 18:41 [KJ] [PATCH 2.6.13-c1 1/17] fix sparse warnings (__nocast type) Victor Fusco
@ 2005-07-03 22:08 ` Alexey Dobriyan
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Dobriyan @ 2005-07-03 22:08 UTC (permalink / raw)
To: kernel-janitors
On Sunday 03 July 2005 22:41, Victor Fusco wrote:
> --- linux-2.6-git.orig/include/linux/gfp.h
> +++ linux-2.6-git/include/linux/gfp.h
>
> -#define __GFP_DMA 0x01
> -#define __GFP_HIGHMEM 0x02
> +#define __GFP_DMA 0x01u
> +#define __GFP_HIGHMEM 0x02u
Already in -mm.
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-03 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-03 18:41 [KJ] [PATCH 2.6.13-c1 1/17] fix sparse warnings (__nocast type) Victor Fusco
2005-07-03 22:08 ` Alexey Dobriyan
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.