aboutsummaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-02-14 15:15:05 -0500
committerJean Delvare <khali@arrakis.delvare>2007-02-14 15:15:05 -0500
commita117dddf6bb27478e6903c9cb242601b6f45b11c (patch)
treef05e5be6348e59a3b0416bd3609024b5884f298c /mm/Kconfig
parentbc8f0a26855d8fac68040d462ec3cc13884e98e5 (diff)
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 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions