diff options
| author | 2018-07-06 11:39:21 +0300 | |
|---|---|---|
| committer | 2018-07-06 17:35:42 +0200 | |
| commit | c37a192ef442fc34e9aa7c9e479f20eb4cd6f7af (patch) | |
| tree | cc1051c75bb0418eb9a2655eea344b30aa2828f7 /scripts/stackusage | |
| parent | Staging: Gasket: fix a couple off by one bugs (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 <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
