diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-05-08 19:19:51 +0200 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-05-17 19:59:40 +0200 |
commit | 501a67c8d153ad5849fc47720598fa2c4c05144b (patch) | |
tree | 1531527e773462372972e939d575532f6a201a2d /drivers/ide/icside.c | |
parent | 470379585be3e2e116e9412e114698debb02eb9e (diff) |
MFD: pcf50633-adc: Fix potential race pcf50633_adc_sync_read
Currently it's not guaranteed that request struct is not already freed when
reading from it. Fix this by moving synced request related fields from the
pcf50633_adc_request struct to its own struct and store it on the functions
stack.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/ide/icside.c')
0 files changed, 0 insertions, 0 deletions