Re: linux 2.6.23-rc7 - 14 compile warnings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gerhard Mack
Date: Saturday, September 22, 2007 - 7:23 pm

On Sat, 22 Sep 2007, WANG Cong wrote:


static void __slab_free(struct kmem_cache *s, struct page *page,
                                        void *x, void *addr)
but ..

void kfree(const void *x)

void is not the same as const void.
					

Once again ino->u.symlink is a const char and it's dropping the const.


gcc is perfectly justified when warning about dropping const. 

	Gerhard


--
Gerhard Mack

gmack@innerfire.net

<>< As a computer I find your faith in technology amusing.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux 2.6.23-rc7 - 14 compile warnings, Dave Haywood, (Fri Sep 21, 2:33 am)
Re: linux 2.6.23-rc7 - 14 compile warnings, WANG Cong, (Fri Sep 21, 7:29 pm)
Re: linux 2.6.23-rc7 - 14 compile warnings, Gerhard Mack, (Sat Sep 22, 7:23 pm)
Re: linux 2.6.23-rc7 - 14 compile warnings, WANG Cong, (Sat Sep 22, 8:14 pm)