lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080207150332.ecf6b756.akpm@linux-foundation.org>
Date:	Thu, 7 Feb 2008 15:03:32 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Sam Ravnborg <sam@...nborg.org>
Cc:	linux-kernel@...r.kernel.org, jeff@...zik.org
Subject: Re: - typhoon-section-fix.patch removed from -mm tree

On Thu, 7 Feb 2008 23:36:01 +0100
Sam Ravnborg <sam@...nborg.org> wrote:

> On Thu, Feb 07, 2008 at 02:30:08PM -0800, akpm@...ux-foundation.org wrote:
> > 
> > The patch titled
> >      typhoon section fix
> > has been removed from the -mm tree.  Its filename was
> >      typhoon-section-fix.patch
> > 
> > This patch was dropped because I just remembered __devexitconst :(
> 
> But powerpc is subtle and I foresee that we have to kill __devinitconst
> and friends soonish.
> The problem is that despite data being const the compiler does not
> always mark the section const.
> So we will see a lot of the errors you see for powerpc now
> that we unconditionally specify a section.
> 
> Previously this inconsistentcy were hidden by the fact that powerpc tagets
> seldom were build without CONFIG_HOTPLUG=y.
> 
> So the patches are correct.
> Tomorrow I hope to do a patch that kill __devinitconst :-(
> 

hrm, OK.

> >  
> > -static const char version[] __devinitdata =
> > +static char version[] __devinitdata =
> >      "typhoon.c: version " DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
> >  

but chances are that in a year's time someone will come along and helpfully
make this const again.  Maybe we should annotate such sites with

#define cant_make_me_const_ask_sam_why /**/

to avoid this..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ