Using %pV can save text.
Replace NV_PRINTK macro with nv_printk and use
of vsprintf extension %pV.
Convert the NV_ macros to use nv_printk
and neaten them too.
Saves ~45KB or ~5% of total code space for nouveau.
$ size drivers/gpu/drm/nouveau/built-in.o*
textdata bss dec hex
Using %pV can save text.
Replace NV_PRINTK macro with nv_printk and use
of vsprintf extension %pV.
Convert the NV_ macros to use nv_printk
and neaten them too.
Saves ~45KB or ~5% of total code space for nouveau.
$ size drivers/gpu/drm/nouveau/built-in.o*
textdata bss dec hex
Using %pV can save text.
Replace NV_PRINTK macro with nv_printk and use
of vsprintf extension %pV.
Convert the NV_ macros to use nv_printk
and neaten them too.
Saves ~40KB or ~5% of total code space for nouveau.
$ size drivers/gpu/drm/nouveau/built-in.o*
textdata bss dec hex
Using %pV can save text.
Replace NV_PRINTK macro with nv_printk and use
of vsprintf extension %pV.
Convert the NV_ macros to use nv_printk
and neaten them too.
Saves ~40KB or ~5% of total code space for nouveau.
$ size drivers/gpu/drm/nouveau/built-in.o*
textdata bss dec hex