public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anders Peter Fugmann <afu@fugmann.dhs.org>
To: Dave Jones <davej@suse.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] const initdata.
Date: Fri, 24 Aug 2001 17:00:20 +0200	[thread overview]
Message-ID: <3B866C04.9090903@fugmann.dhs.org> (raw)
In-Reply-To: <Pine.LNX.4.31.0108240051360.1732-100000@noodles.codemonkey.org.uk>

How "bad" is it to have __initdata declared static?

A quick scan through the kernel tree shows
that 27 .h and 355 .c files needa patching.
(a total of 845 places)

Numbers are from 2.4.9 kernel.

It should be very easy to correct through a script.

Regards
Anders Fugmann


Dave Jones wrote:
> As defined in in Rusty's kernel-hacking doc, __initdata must not be
> marked as const.  Patch below does this for the PCI subsystem.
> 
> *nb*, This kind of patch needs to be done in quite a few other
> places too.
> 
> regards,
> 
> Dave.
> 
> 



  reply	other threads:[~2001-08-24 15:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-23 23:55 [PATCH] const initdata Dave Jones
2001-08-24 15:00 ` Anders Peter Fugmann [this message]
2001-08-24 15:18   ` Alan Cox
2001-08-24 15:26     ` Anders Peter Fugmann

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=3B866C04.9090903@fugmann.dhs.org \
    --to=afu@fugmann.dhs.org \
    --cc=davej@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /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