On Fri, 26 Oct 2007, Sergei Shtylyov wrote: > > We can just convert cariables declared as 'struct hpt_info' to const too -- > they are read-only templates. Generally "__devinitdata" is better than "const", since it means that the data may be thrown away. So if you drop one over the other, it's generally the "const" that should be dropped ;/ Linus - 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/
- Follow-Ups:
- Re: Regression: commit "ide: constify struct ide_port_info" causes breakage
- From: Arjan van de Ven <[email protected]>
- Re: Regression: commit "ide: constify struct ide_port_info" causes breakage
- From: Sergei Shtylyov <[email protected]>
- Re: Regression: commit "ide: constify struct ide_port_info" causes breakage
- References:
- Regression: commit "ide: constify struct ide_port_info" causes breakage
- From: Russell King <[email protected]>
- Re: Regression: commit "ide: constify struct ide_port_info" causes breakage
- From: Sergei Shtylyov <[email protected]>
- Regression: commit "ide: constify struct ide_port_info" causes breakage
- Prev by Date: Re: [PATCH 2/2] RT: Cache cpus_allowed weight for optimizing migration
- Next by Date: Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
- Previous by thread: Re: Regression: commit "ide: constify struct ide_port_info" causes breakage
- Next by thread: Re: Regression: commit "ide: constify struct ide_port_info" causes breakage
- Index(es):