aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/mutex-design.txt
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-02-14 21:15:05 +0100
committerJean Delvare <khali@arrakis.delvare>2007-02-14 21:15:05 +0100
commita117dddf6bb27478e6903c9cb242601b6f45b11c (patch)
treef05e5be6348e59a3b0416bd3609024b5884f298c /Documentation/mutex-design.txt
parentbc8f0a26855d8fac68040d462ec3cc13884e98e5 (diff)
downloadkernel_samsung_smdk4412-a117dddf6bb27478e6903c9cb242601b6f45b11c.zip
kernel_samsung_smdk4412-a117dddf6bb27478e6903c9cb242601b6f45b11c.tar.gz
kernel_samsung_smdk4412-a117dddf6bb27478e6903c9cb242601b6f45b11c.tar.bz2
hwmon/f71805f: Fix a race condition
I think I introduced a potential race condition bug with commit 51c997d80e1f625aea3426a8a9087f5830ac6db3. I didn't realize it back then, but platform_device_put and platform_device_release both appear to free the platform data associated with the device. This makes an explicit kfree redundant at best, and maybe even racy, as it might occur while someone still holds a reference to the platform device. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/mutex-design.txt')
0 files changed, 0 insertions, 0 deletions