> > When using printk from __init functions it would be desirable to place > > the printk format strings in __initdata. Add a printk_init() variant > > which does this. Russell played with this years ago I seem to remember and broke the ARM gcc in the process. If we have any compilers generating near pointer references for string constants then suddenely hiding them in another section is going to be interesting. > Wouldn't it be great if checkpatch were to detect > fail-to-use-printk_init() in an __init function? Can we have a 'correctpatch' to go with it someday perhaps ;) _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm