Re: [PATCH 3/3] lib/vsprintf: Add %pC{,n,r} format specifiers for clocks

From: Joe Perches
Date: Fri Feb 27 2015 - 17:55:20 EST


On Fri, 2015-02-27 at 14:18 -0800, Andrew Morton wrote:
> On Thu, 26 Feb 2015 12:13:03 +0100 Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> 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?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/