On 03/06/2018 12:14 AM, Martin Wilck wrote: > Convert the snprint methods for all keywords to call-by-value, > and use "const" qualifier for the "data" argument. This makes sure > that "snprint" type functions don't modify the data they're print, > helps compile-time correctness checking, and allows more proper > "const" cleanups in the future. > > Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> > Reviewed-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> > --- > libmultipath/dict.c | 206 ++++++++++++++++++++++++-------------------------- > libmultipath/parser.c | 9 ++- > libmultipath/parser.h | 12 ++- > 3 files changed, 112 insertions(+), 115 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel