On Wed 2014-05-14 19:08:46, Dan Carpenter wrote: > In the original code "resume_delay" is an int so on 64 bits, the call to > kstrtoul() will cause memory corruption. We may as well fix a style > issue here as well and make "resume_delay" unsigned int, since that's > what we pass to ssleep(). > Fixes: 317cf7e5e85e ('PM / hibernate: convert simple_strtoul to kstrtoul') > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> And thanks :-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html