Re: tip.git regression from "vsprintf: unify the format decodinglayer for its 3 users"

From: Jeremy Fitzhardinge
Date: Sat Mar 14 2009 - 12:11:22 EST


Vegard Nossum wrote:
2009/3/14 Jeremy Fitzhardinge <jeremy@xxxxxxxx>:
Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the format
decoding layer for its 3 users", causes a regression in xenbus which results
in no devices getting attached to a new domain. Reverting
fef20d9c1380f04ba9492d6463148db07b413708 and
39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.

I haven't identified what format string is being handled wrongly, so I don't
know what the precise bug is. The most complex looking format in use seems
to be %.*s; there's also "%s/%s", "%i" and "%lX".

Hi,

At least %.*s seems to be broken. How about this patch?

Thanks, that does the trick.

J
--
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/