Re: Regression: commit "ide: constify struct ide_port_info" causes breakage

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Russell King <rmk@...>
Cc: <linux-ide@...>, Bartlomiej Zolnierkiewicz <bzolnier@...>, Jeff Garzik <jgarzik@...>, Alan Cox <alan@...>, Linux Kernel List <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Friday, October 26, 2007 - 12:12 pm

On Fri, 26 Oct 2007, Russell King wrote:

Sad. This is not too uncommon, but yeah, it's really sad that we cannot 
use "const" (as a compiler type safety marker) together with section 
definitions (to get it put in special init sections).

Bartlomiej - I don't think we need to revert the whole commit, but all 
those "static const xyz __devinitdata = { .." things probably do need to 
have the const removed, even if it would be otherwise correct ;(

		Linus
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Regression: commit "ide: constify struct ide_port_info" ..., Bartlomiej Zolnierkiewicz..., (Fri Oct 26, 2:18 pm)
Re: Regression: commit "ide: constify struct ide_port_info" ..., Linus Torvalds, (Fri Oct 26, 12:12 pm)