Hi Andy, > Date: 2026-11-26 00:00:03+0200 > From: Andy Shevchenko > > On Wed, Nov 25, 2026 at 10:03:55PM +0100, Alejandro Colomar wrote: > > str_has_prefix() returns the prefix length on match and 0 on mismatch, > > so the mistmatch case can't be told from "empty prefix matched an empty > > string". > > > > For instance: the OF root node's name as returned by > > fwnode_get_name() is "" and will return 0 for any name matched against > > it and since len is 0 too, fwnode_name_eq() will return true. > > > > Let's use strprefix() instead, which also makes this function simpler. > > ... > > > Message-ID: > > Message-ID: > > Message-ID: > > What is this? git-am(1) has --message-id and the corresponding am.messageId, which stores the Message-ID from the email header field from which the patch is taken, to document where the patch was taken from. It is stored by git-am(1) right below the last trailer tag from the patch (which should be the 'Signed-off-by' of the author), and before the 'Signed-off-by' appended by git-am(1) itself. $ MANWIDTH=64 man git-am | grep -A5 messageId am.messageId Add a Message-ID trailer based on the email header to the commit when using git‐am(1) (see git‐interpret‐ trailers(1)). See also the --message-id and --no-message-id options. It's useful to document where those tags come from, in case it's historically useful. I've extended its use to other tags I take from emails. > Is it documented tag nowadays? It is not documented in the kernel, AFAIK. It is documented in git-am(1). I included it, because I find it useful. Feel free to drop it if it's not wanted (I can remove in in v8 if it's not wanted). Have a lovely night! Alex --