Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753430AbbELN5i (ORCPT ); Tue, 12 May 2015 09:57:38 -0400 Received: from ns.horizon.com ([71.41.210.147]:48487 "HELO ns.horizon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753404AbbELN5h (ORCPT ); Tue, 12 May 2015 09:57:37 -0400 Date: 12 May 2015 09:57:36 -0400 Message-ID: <20150512135736.7868.qmail@ns.horizon.com> From: "George Spelvin" To: linux@horizon.com, linux@rasmusvillemoes.dk Subject: Re: [PATCH 2/2 v2] lib/vsprintf.c: Further simplify uuid_string() Cc: joe@perches.com, linux-kernel@vger.kernel.org In-Reply-To: <87vbfy6nph.fsf@rasmusvillemoes.dk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 771 Lines: 25 > Acked-by: Rasmus Villemoes > > You may want/need to include Andrew Morton in the cc-list to get these > picked up. Thank you; I sent it to you because I'm not sure who's really in charge of this. >> + /* Insert the fixed punctuation */ >> + uuid[23] = uuid[18] = uuid[13] = uuid[8] = '-'; >> + uuid[36] = 0; > I think '\0' is more common. It's that way beause of it was replacing >> - *p = 0; But yes, I prefer the char constant, too. And it would be consistent with the rest of the file. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/