diff options
author | Tom Zanussi <zanussi@us.ibm.com> | 2007-07-12 08:12:04 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-13 14:14:26 +0200 |
commit | 24da24de2eae0c277b85836e2b4b09cfafeea995 (patch) | |
tree | c7025d1fd59c116584e166d8e2c7e455718fd056 /drivers/power | |
parent | 773208946a132fb733ba273ee8562814f828cc28 (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