On 09/18/17 01:40, Conrad Meyer wrote: > + sprintf(chardevname, "226:%d", > + device_get_unit(dev)); Hi, Try to use snprintf(). Define the chardevname size as a macro, or just allocate it on the stack if it is < 32 bytes. --HPS