summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorTom Zanussi <zanussi@us.ibm.com>2007-07-12 08:12:04 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-07-13 14:14:26 +0200
commit24da24de2eae0c277b85836e2b4b09cfafeea995 (patch)
treec7025d1fd59c116584e166d8e2c7e455718fd056 /drivers/power
parent773208946a132fb733ba273ee8562814f828cc28 (diff)
relay: fix bogus cast in subbuf_splice_actor()
The current code that sets the read position in subbuf_splice_actor may give erroneous results if the buffer size isn't a power of 2. This patch fixes the problem. Signed-off-by: Tom Zanussi <zanussi@us.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions