-
由 David Herrmann 提交于
The check for non-empty device name was botched since we tried to account for extra space for the terminating zero at the same time. Convert to kstrndup() to avoid this problem. Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com> Acked-by: NAristeu Rozanski <aris@ruivo.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
5d9d6e91