Thread (13 messages) 13 messages, 2 authors, 2014-01-29
STALE4541d

Re: [PATCH v3 1/2] init/do_mounts.c: ignore final \n in name_to_dev_t

From: Sebastian Capella <hidden>
Date: 2014-01-29 18:29:56
Also in: linux-arm-kernel

Hi Andrew,

By the way, I do see a call (sysfs_streq) in use for this purpose
other places.  Sorry, I didn't find it while looking at the original
problem.  I'm not sure if this is preferable, but it appears to have
been added specifically for the strings coming through sysfs.

My preference is copying the string and cleaning it up before passing
it to internal functions, even though we incur an allocation.

Thanks,

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help