[PATCH 0/7] genksyms: Track changes to enum constant

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

 



This series makes genksyms remember the values of enum constants and use them
during symbol expansion. This makes sure that patches like

| enum e {
|  	E1,
| 	E2,
|+	E3,
| 	E_MAX
| };
|
| struct s {
| 	int a[E_MAX];
| }
|
| int f(struct s *s) { ... }
| EXPORT_SYMBOL(f)

change the checksum of the exported symbol. Previously, it would just use the
string "E_MAX" in the calculation and the change would go unnoticed. The main
part is in patches 6/7 and 7/7, the rest are cleanups and preparatory patches.

Michal
--
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