diff options
| author | Dan Carpenter <[email protected]> | 2018-07-06 11:39:21 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-07-06 17:35:42 +0200 |
| commit | c37a192ef442fc34e9aa7c9e479f20eb4cd6f7af (patch) | |
| tree | cc1051c75bb0418eb9a2655eea344b30aa2828f7 /tools/perf/scripts/python | |
| parent | 7cc6dfd076e84359a96a851c41ac8dc696565a3f (diff) | |
Staging: Gasket: shift wrapping bug in gasket_read_modify_write_64()
This function only has one caller so mask_width is 1 and mask_shift is
32. Shifting an int by 32 bits is undefined, but I guess on GCC it
wraps to 0x1? Anyway it's supposed to be 0x100000000.
Fixes: 9a69f5087ccc ("drivers/staging: Gasket driver framework + Apex driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions