Re: [patch 1/8] genksyms: track symbol checksum changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 01, 2008 at 02:21:01PM -0800, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> From: Andreas Gruenbacher <agruen@xxxxxxx>
> 
> Sometimes it is preferable to avoid changes of exported symbol checksums
> (to avoid breaking externally provided modules).  When a checksum change
> occurs, it can be hard to figure out what caused this change: underlying
> types may have changed, or additional type information may simply have
> become available at the point where a symbol is exported.
> 
> Add a new --reference option to genksyms which allows it to report why
> checksums change, based on the type information dumps it creates with the
> --dump-types flag.  Genksyms will read in such a dump from a previous run,
> and report which symbols have changed (and why).
> 
> The behavior can be controlled for an entire build as follows: If
> KBUILD_SYMTYPES is set, genksyms uses --dump-types to produce *.symtypes
> dump files.  If any *.symref files exist, those will be used as the
> reference to check against.  If KBUILD_PRESERVE is set, checksum changes
> will fail the build.
> 
> Signed-off-by: Andreas Gruenbacher <agruen@xxxxxxx>
> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Cc: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Applied.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux