diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2019-02-22 17:42:23 +0300 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-02-28 21:16:00 +0300 |
| commit | 366e37e4da23f9df498cc9577cadcb354f7bd431 (patch) | |
| tree | 710779d189848a45aa13e0f9ae427bcb5428c748 /drivers/fpga/altera-fpga2sdram.c | |
| parent | a29c78234942fcfba2c5c305adc85b64332f9a95 (diff) | |
| download | linux-366e37e4da23f9df498cc9577cadcb354f7bd431.tar.xz | |
arm64: avoid clang warning about self-assignment
Building a preprocessed source file for arm64 now always produces
a warning with clang because of the page_to_virt() macro assigning
a variable to itself.
Adding a new temporary variable avoids this issue.
Fixes: 2813b9c02962 ("kasan, mm, arm64: tag non slab memory allocated via pagealloc")
Reviewed-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
