Messages in this thread | | | Subject | Re: [PATCH 3/3] lib/vsprintf: Add %pC{,n,r} format specifiers for clocks | From | Joe Perches <> | Date | Fri, 27 Feb 2015 14:55:10 -0800 |
| |
On Fri, 2015-02-27 at 14:18 -0800, Andrew Morton wrote: > On Thu, 26 Feb 2015 12:13:03 +0100 Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Add format specifiers for printing struct clk: > > - '%pC' or '%pCn': name (Common Clock Framework) or address (legacy > > clock framework) of the clock, > > - '%pCr': rate of the clock. [] > Seems a bit cruel to teeny systems which don't implement clock. How does > this look? Saves 160 bytes in each powerpc build!
Does this still emit a pointer value for those systems? Glancing at it, does it just emit NULL?
| |