On Wed, Jun 20, 2012 at 04:32:00PM +0800, Cong Wang wrote: > cxt->dir_path could be NULL, for example, when sysfs_init() fails, > check this before calling readlink()/readlink_at(). Applied, thanks. I have also added warn_unused_result attribute to sysfs_init() to make sure that cxt is everywhere initialized. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html