diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-02-14 21:15:05 +0100 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-02-14 21:15:05 +0100 |
commit | a117dddf6bb27478e6903c9cb242601b6f45b11c (patch) | |
tree | f05e5be6348e59a3b0416bd3609024b5884f298c /include | |
parent | bc8f0a26855d8fac68040d462ec3cc13884e98e5 (diff) | |
download | kernel-crypto-a117dddf6bb27478e6903c9cb242601b6f45b11c.tar.gz kernel-crypto-a117dddf6bb27478e6903c9cb242601b6f45b11c.tar.xz kernel-crypto-a117dddf6bb27478e6903c9cb242601b6f45b11c.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions