commit | c396fe7f0c2efdf6c02d723f7bd492c58725c822 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Mon Jul 03 14:37:46 2017 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Thu Jul 20 10:20:48 2017 +0100 |
tree | 5f33351fcb1d4b16f1d594c58b593711995a7b47 | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 [diff] |
arm64: uaccess: Remove redundant __force from addr cast in __range_ok Casting a pointer to an integral type doesn't require a __force attribute, because you'll need to cast back to a pointer in order to dereference the thing anyway. This patch removes the redundant __force cast from __range_ok. Reported-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com>