From: Frank Seidel <fseidel@suse.de>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Jan Engelhardt <jengelh@computergmbh.de>,
Greg Kroah-Hartman <gregkh@suse.de>,
jirislaby@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nozomi: constify driver
Date: Fri, 1 Feb 2008 08:59:14 +0100 [thread overview]
Message-ID: <200802010859.14583.fseidel@suse.de> (raw)
In-Reply-To: <20080201072815.GA5345@uranus.ravnborg.org>
On Friday 01 February 2008 08:28, Sam Ravnborg wrote:
> __devinitdata is for non-const data.
> __devinitconst is for const data.
>
> You cannot mix const and non-const data in the same section,
> if you do so gcc will complain.
> It may build for you if all uses of __devinitdata in the
> same source file is either const or non-const but when you
> mix it then it breaks.
>
> So please use the correct annotation.
Ok, i see .. thanks for this explanation.
I'll repost with this fixed
BTW in this case those drivers also need to be fixed in current
git tree, should they?
drivers/edac/amd76x_edac.c
drivers/edac/e752x_edac.c
drivers/edac/e7xxx_edac.c
drivers/edac/i3000_edac.c
drivers/edac/i5000_edac.c
drivers/edac/i82443bxgx_edac.c
drivers/edac/i82860_edac.c
drivers/edac/i82875p_edac.c
drivers/edac/i82975x_edac.c
drivers/edac/r82600_edac.c
drivers/macintosh/macio_asic.c
drivers/mmc/host/ricoh_mmc.c
drivers/mmc/host/sdhci.c
drivers/net/natsemi.c
drivers/net/via-velocity.c
drivers/scsi/aic94xx/aic94xx_init.c
> We do small incremental steps whenever we can. The challenge is
> often to split up patches and not to combine them.
>
> Where we combine two patches this is when the second patch fix
> a bug in the first patch.
To me it felt like those changes are so trivial and kind of
belong together so that i thought it would be ok here. But
i'll repost it as two patches in a few moments.
Thanks,
Frank
next prev parent reply other threads:[~2008-02-01 7:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-31 21:10 [PATCH] nozomi: constify driver Frank Seidel
2008-01-31 21:39 ` Jan Engelhardt
2008-02-01 6:25 ` Frank Seidel
2008-02-01 7:28 ` Sam Ravnborg
2008-02-01 7:59 ` Frank Seidel [this message]
2008-02-01 8:09 ` [PATCH v2 0/3] nozomi: driver updates to current git tree Frank Seidel
2008-02-01 8:13 ` [PATCH v2 1/3] nozomi: minor cleanups (already in gregkh-2.6) Frank Seidel
2008-02-01 8:13 ` [PATCH v2 2/3] nozomi: constify driver Frank Seidel
2008-02-01 8:14 ` [PATCH v2 3/3] nozomi: finish constification Frank Seidel
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=200802010859.14583.fseidel@suse.de \
--to=fseidel@suse.de \
--cc=gregkh@suse.de \
--cc=jengelh@computergmbh.de \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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