commit | 3e9eb9e6926d6041e0067cec43ae8dca161f257f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Oct 11 09:56:35 2012 +0300 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:16:42 2020 +0200 |
tree | 4e4277a489e286a02673c28e8abb00a91e7c1df0 | |
parent | 8ecafbdfa15bd481ae90c2cc0e1c5fb03165257c [diff] |
gpio-timberdale: fix a potential wrapping issue commit d79550a7bc35c16476ebdc27c78378d8093390ec upstream. ->last_ier is an unsigned long but the high bits can't be used int the original code because the shift wraps. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>