Skip to content
Commit 5359dffd authored by Fenghua Yu's avatar Fenghua Yu
Browse files

ia64/topology.c: exit cache_add_dev when kobject_init_and_add fails



Make cache_add_dev exit sysfs when kobject_init_and_add returns an error.

Signed-off-by: default avatarXiaotian Feng <dfeng@redhat.com>
Signed-off-by: default avatarFenghua Yu <fenghua.yu@intel.com>
parent bf2a4c72
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment