summaryrefslogtreecommitdiff
path: root/init/version.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-06-08 15:43:42 (GMT)
committerAnton Vorontsov <cbouatmailru@gmail.com>2008-06-09 22:13:51 (GMT)
commit56fa18e8f1ef6b3995a4511e61103d0f9205ff4a (patch)
tree7d1bd03f812355c7354032cb941636512fd78220 /init/version.c
parentd563923011110a91bdbf1d89055c3e803ec01f0f (diff)
downloadlinux-fsl-qoriq-56fa18e8f1ef6b3995a4511e61103d0f9205ff4a.tar.xz
power_supply: Fix race in power_supply_uevent
Commit 54d29ad33e3483bcc7ca433a21cf294854e5154a (Power Supply: fix race in device_create) introduced a race in power_supply_uevent. Previously it checked that power_supply is available by checking for dev->driver_data. But now dev->driver_data is set before power_supply->dev is initialised. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions