Re: [RFC][PATCH 2/6] x86, nmi: create new NMI handler routines

From: Peter Zijlstra
Date: Mon Aug 22 2011 - 11:32:07 EST


On Mon, 2011-08-22 at 11:21 -0400, Don Zickus wrote:
> It does seem odd, but I can change that to strncpy to
> be safer.

I think kstrdup() exists for this purpose, don't forget to free it when
you're done with it though ;-)
--
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/