[PATCH RFC 1/2] PM / Hibernate: use name_to_dev_t to parse resume
Sebastian Capella
sebastian.capella at linaro.org
Mon Aug 26 13:40:50 EDT 2013
Apologies for my previous top post reply...
Quoting Pavel Machek (2013-08-25 08:38:11)
> Is the allocation actually neccessary? At the very least this should
> test for NULL...
Thanks Pavel! I'll add the check for NULL.
name_to_dev_t expects a non-const name, but the buffer passed in
is const. I also am removing the '\n' if found at the end of the
string which would violate the const.
Thanks!
Sebastian
More information about the linux-arm-kernel
mailing list