diff options
| author | Dan Carpenter <[email protected]> | 2013-06-19 10:08:10 +1000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2013-06-29 12:57:35 +0400 |
| commit | 642b704cd7a29be0b8900971eb525086c1c995b7 (patch) | |
| tree | 616b89d759f128c01e967ed64fd7c7da1b763dcf /tools/perf/scripts/python | |
| parent | 18c67cb9f0d2ac1e5660899c852f657ba84ddd2e (diff) | |
minix: bug widening a binary "not" operation
"chunk_size" is an unsigned int and "pos" is an unsigned long. The
"& ~(chunk_size-1)" operation clears the high 32 bits unintentionally.
The ALIGN() macro does the correct thing.
Signed-off-by: Dan Carpenter <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions