On Sat, Jun 19, 2021 at 04:55:46PM +0300, Dan Carpenter wrote: > The kernel version of snprintf() can't return negatives. The > "ret > (int)sizeof(sym)" check is off by one because and it should be > >=. Finally, we need to set a negative error code. Applied, thanks.