mark const init data with __initconst instead of __initdata
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | pinctrl: mark const init data with __initconst instead of __initdataDocumentation/ drivers/ | +3 | 1 reply | |
| 2/15 | ARM: mark const init data with __initconst instead of __initdataarch/ arch/ arch/ +6 more | +39 | 1 reply | |
| 3/15 | FRV: mark const init data with __initconst instead of __initdataarch/ | +1 | 0 replies | |
| 4/15 | net: mark const init data with __initconst instead of __initdatadrivers/ drivers/ drivers/ +4 more | +9 | 0 replies | |
| 5/15 | hwmon: mark const init data with __initconst instead of __initdatadrivers/ | +9 | 3 replies | |
| 6/15 | mfd: mark const init data with __initconst instead of __initdatadrivers/ | +1 | 1 reply | |
| 7/15 | mips: mark const init data with __initconst instead of __initdataarch/ arch/ arch/ +4 more | +9 | 0 replies | |
| 8/15 | h8300: mark const init data with __initconst instead of __initdataarch/ arch/ arch/ +3 more | +8 | 0 replies | |
| 9/15 | ia64: mark const init data with __initconst instead of __initdataarch/ arch/ | +2 | 0 replies | |
| 10/15 | powerpc: mark const init data with __initconst instead of __initdataarch/ arch/ arch/ | +3 | 0 replies | |
| 11/15 | gpio/samsung: mark const init data with __initconst instead of __initdatadrivers/ | +1 | 0 replies | |
| 12/15 | ide: mark const init data with __initconst instead of __initdatadrivers/ drivers/ drivers/ +6 more | +10 | 0 replies | |
| 13/15 | media/video/s5p-tv: mark const init data with __initconst instead of __initdatadrivers/ | +1 | 0 replies | |
| 14/15 | drivers/x86: mark const init data with __initconst instead of __initdatadrivers/ | +1 | 0 replies | |
| 15/15 | kstrtox: mark const init data with __initconst instead of __initdatalib/ | +2 | 0 replies |
Reviews trailers per patch
1 of 15 patches has a Reviewed-by or Acked-by.
| Patch | Sekhar Nori |
|---|---|
| 1/15 | |
| 2/15 | A-b |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | |
| 13/15 | |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/15] mark const init data with __initconst instead of __initdata
Hello,
Quoted 5 lines · Uwe Kleine-König
this series fixes a common error to use
__initdatato mark const variables. Most of the time this works well enough to go unnoticed (though I wonder why the linker doesn't warn about that). Just try adding something like
Quoted 8 lines
int something __initdata;to one of the patched files and compile to see the error.
While touching these annotations I also corrected the position where it was wrong to go between the variable name and the =.
Note this series is not compile tested.
I now dropped the wrong annotations. So two patches became obsolete (mtd and percpu). Note that I also dropped fixing the position of __initdata if changing it to __initconst was wrong. (I think if __initdata is placed before the variable name it doesn't have any effect.)
I didn't promote the Acks I got because all acked changes changed in v2.
For the details changed in each patch see the changelogs in the respective patch mails that I follow up to this mail.
Thanks
Uwe
Signature · 6 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/