[lkml]   [2011]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH 2/6] x86, nmi: create new NMI handler routines
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 ;-)

 \ /
  Last update: 2011-08-22 17:35    [W:0.054 / U:7.260 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site