On Sat, Apr 01, 2017 at 04:44:36PM +0300, Danil Antonov wrote: > >From 236c82fee189c22b88313fda71816e486edab8a6 Mon Sep 17 00:00:00 2001 > From: Danil Antonov <g.danil.a...@gmail.com> > Date: Wed, 29 Mar 2017 12:23:58 +0300 > Subject: [PATCH 09/43] ppc: made printf always compile in debug output > > Wrapped printf calls inside debug macros (DPRINTF) in `if` statement. > This will ensure that printf function will always compile even if debug > output is turned off and, in turn, will prevent bitrot of the format > strings. > > Signed-off-by: Danil Antonov <g.danil.a...@gmail.com>
Hrm. Long term we really wantto change these to tracepoints anyway, so I'm not sure how useful this is on its own. I'd apply it anyway, except it no longer applies clear against ppc-for-2.10. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature