diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-08 15:11:17 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-08 15:11:17 -0800 |
commit | 29bb5d4fd3140a7d5d02d858118c74a45f15c296 (patch) | |
tree | bed72baeafecb0e33e816709c432595804dc711d /fs/befs | |
parent | 15f51136719699d7204eeeccd66849a4d90ae426 (diff) |
driver-core: cpu: fix kobject warning when hotplugging a cpu
Due to the sysdev conversion to struct device, the cpu objects get
reused when adding a cpu after offlining it, which causes a big warning
that the kobject portion is not properly initialized.
So clear out the object before we register it again, so all is quiet.
Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions