From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Jan Beulich <jbeulich@novell.com>,
Glauber de Oliveira Costa <glommer@gmail.com>
Subject: Re: [PATCH 1/4] x86: clean up asm-x86/page*.h
Date: Fri, 14 Dec 2007 07:46:14 -0800 [thread overview]
Message-ID: <4762A546.4080602@goop.org> (raw)
In-Reply-To: <20071214092816.GA11266@elte.hu>
Ingo Molnar wrote:
> * Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
>
>> Unify common definitions in page*.h. To simplify other code, I added
>> typedefs for the value of pte/pmd/pud/pgd values, so they can be used
>> symbolically elsewhere without needing to have lots of 32/64/PAE
>> tests.
>>
>> Also, add PAGETABLE_LEVELS define so that other definitions can test
>> for it directly rather than using indirect 32/64/PAE tests.
>>
>
> this one introduces mass warnings of:
>
> include/asm/page.h: In function 'copy_page':
> include/asm/page.h:34: warning: passing argument 2 of 'mmx_copy_page' discards qualifiers from pointer target type
> In file included from include/asm/thread_info_32.h:14,
> from include/asm/thread_info.h:3,
> from include/linux/thread_info.h:35,
> from include/linux/preempt.h:10,
> from include/linux/spinlock.h:50,
> from include/linux/mmzone.h:8,
> from include/linux/gfp.h:5,
> from include/linux/mm.h:9,
> from arch/x86/mm/mmap.c:29:
>
> with the attached config.
>
Hm. I constified the "from" argument to copy_page on the way through
(to catch param-swapping problems). Looks like I need to update
mmx_copy_page etc as well. Anyway, this warning is harmless, and I'll
generate a separate patch to fix it.
J
next prev parent reply other threads:[~2007-12-14 15:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-14 8:12 [PATCH 1/4] x86: clean up asm-x86/page*.h Jeremy Fitzhardinge
2007-12-14 8:31 ` Jan Beulich
2007-12-14 8:44 ` Jeremy Fitzhardinge
2007-12-14 8:53 ` Jan Beulich
2007-12-14 11:55 ` Glauber de Oliveira Costa
2007-12-14 9:28 ` Ingo Molnar
2007-12-14 15:46 ` Jeremy Fitzhardinge [this message]
2007-12-14 10:10 ` Harvey Harrison
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4762A546.4080602@goop.org \
--to=jeremy@goop.org \
--cc=glommer@gmail.com \
--cc=jbeulich@novell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox