Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jesper Nilsson
On Tue, Jan 22, 2008 at 09:00:46PM +0100, Jan Engelhardt wrote: > Hi, > > This touches so many different places that I did not feel like creating > a miniscule patch for each architecture. I hope that is ok. > > ===Patch begins=== > [PATCH] procfs: constify function point

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Bryan Wu
On Jan 23, 2008 7:25 PM, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Jan 23 2008 18:41, Bryan Wu wrote: > >Oh, this patch does not touch all, following is the missing list: > >--- > [...] > >arch/ia64/hp/common/sba_iommu.c:static struct seq_operations ioc_seq_ops = { >

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jan Engelhardt
On Jan 23 2008 18:41, Bryan Wu wrote: >Oh, this patch does not touch all, following is the missing list: >--- [...] >arch/ia64/hp/common/sba_iommu.c:static struct seq_operations ioc_seq_ops = { >arch/ia64/kernel/perfmon.c:struct seq_operations pfm_seq_ops = { >arch/ia64/kernel/setup.c:struct

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Bryan Wu
On Jan 23, 2008 5:06 PM, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Jan 23 2008 12:18, Bryan Wu wrote: > >> [PATCH] procfs: constify function pointer tables > >> --- > >> arch/alpha/kernel/setup.c |2 +- > >> arch/blackfin/kernel/setup

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jan Engelhardt
On Jan 23 2008 12:18, Bryan Wu wrote: >> [PATCH] procfs: constify function pointer tables >> --- >> arch/alpha/kernel/setup.c |2 +- >> arch/blackfin/kernel/setup.c |2 +- >> [...] >> diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setu

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jan Engelhardt
On Jan 23 2008 12:18, Bryan Wu wrote: [PATCH] procfs: constify function pointer tables --- arch/alpha/kernel/setup.c |2 +- arch/blackfin/kernel/setup.c |2 +- [...] diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index bd5e68c..823f18e 100644 --- a/arch

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Bryan Wu
On Jan 23, 2008 5:06 PM, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jan 23 2008 12:18, Bryan Wu wrote: [PATCH] procfs: constify function pointer tables --- arch/alpha/kernel/setup.c |2 +- arch/blackfin/kernel/setup.c |2 +- [...] diff --git a/arch/alpha/kernel/setup.c

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jan Engelhardt
On Jan 23 2008 18:41, Bryan Wu wrote: Oh, this patch does not touch all, following is the missing list: --- [...] arch/ia64/hp/common/sba_iommu.c:static struct seq_operations ioc_seq_ops = { arch/ia64/kernel/perfmon.c:struct seq_operations pfm_seq_ops = { arch/ia64/kernel/setup.c:struct

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Bryan Wu
On Jan 23, 2008 7:25 PM, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jan 23 2008 18:41, Bryan Wu wrote: Oh, this patch does not touch all, following is the missing list: --- [...] arch/ia64/hp/common/sba_iommu.c:static struct seq_operations ioc_seq_ops = { arch/ia64/kernel/perfmon.c:struct

Re: [PATCH] procfs: constify function pointer tables

2008-01-23 Thread Jesper Nilsson
On Tue, Jan 22, 2008 at 09:00:46PM +0100, Jan Engelhardt wrote: Hi, This touches so many different places that I did not feel like creating a miniscule patch for each architecture. I hope that is ok. ===Patch begins=== [PATCH] procfs: constify function pointer tables Signed-off

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Bryan Wu
On Jan 23, 2008 4:00 AM, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > Hi, > > > This touches so many different places that I did not feel like creating > a miniscule patch for each architecture. I hope that is ok. > > ===Patch begins=== > [PATCH] procfs: constify func

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Stephen Rothwell
Hi Jan, On Tue, 22 Jan 2008 21:00:46 +0100 (CET) Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > -extern struct seq_operations mounts_op; > +extern const struct seq_operations mounts_op; [ and many others ... ] I don't suppose you feel like finding appropriate header files to put these

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread David Howells
FRV looks okay. Acked-By: David Howells <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Mike Frysinger
On Jan 22, 2008 3:00 PM, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > This touches so many different places that I did not feel like creating > a miniscule patch for each architecture. I hope that is ok. there is a linux-arch alias so you dont have to look up every maintainer yourself ;) >

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Geert Uytterhoeven
On Tue, 22 Jan 2008, Jan Engelhardt wrote: > This touches so many different places that I did not feel like creating > a miniscule patch for each architecture. I hope that is ok. > > ===Patch begins=== > [PATCH] procfs: constify function pointer tables > > Signed-off-by: J

[PATCH] procfs: constify function pointer tables

2008-01-22 Thread Jan Engelhardt
Hi, This touches so many different places that I did not feel like creating a miniscule patch for each architecture. I hope that is ok. ===Patch begins=== [PATCH] procfs: constify function pointer tables Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> --- arch/alpha/kernel/s

[PATCH] procfs: constify function pointer tables

2008-01-22 Thread Jan Engelhardt
Hi, This touches so many different places that I did not feel like creating a miniscule patch for each architecture. I hope that is ok. ===Patch begins=== [PATCH] procfs: constify function pointer tables Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- arch/alpha/kernel/setup.c |2

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Geert Uytterhoeven
On Tue, 22 Jan 2008, Jan Engelhardt wrote: This touches so many different places that I did not feel like creating a miniscule patch for each architecture. I hope that is ok. ===Patch begins=== [PATCH] procfs: constify function pointer tables Signed-off-by: Jan Engelhardt [EMAIL

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Mike Frysinger
On Jan 22, 2008 3:00 PM, Jan Engelhardt [EMAIL PROTECTED] wrote: This touches so many different places that I did not feel like creating a miniscule patch for each architecture. I hope that is ok. there is a linux-arch alias so you dont have to look up every maintainer yourself ;)

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread David Howells
FRV looks okay. Acked-By: David Howells [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Stephen Rothwell
Hi Jan, On Tue, 22 Jan 2008 21:00:46 +0100 (CET) Jan Engelhardt [EMAIL PROTECTED] wrote: -extern struct seq_operations mounts_op; +extern const struct seq_operations mounts_op; [ and many others ... ] I don't suppose you feel like finding appropriate header files to put these declarations

Re: [PATCH] procfs: constify function pointer tables

2008-01-22 Thread Bryan Wu
On Jan 23, 2008 4:00 AM, Jan Engelhardt [EMAIL PROTECTED] wrote: Hi, This touches so many different places that I did not feel like creating a miniscule patch for each architecture. I hope that is ok. ===Patch begins=== [PATCH] procfs: constify function pointer tables Signed-off-by: Jan