lkml.org 
[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
    From
    Date
    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.019 / U:2.080 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site