summaryrefslogtreecommitdiff
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorPavel Tatashin <pasha.tatashin@soleen.com>2021-02-01 10:03:06 -0500
committerWill Deacon <will@kernel.org>2021-02-01 15:57:30 +0000
commitd1bbc35fcab28668c8992c4d5777234b794d7306 (patch)
tree8538a39f1ce3a748e695bf47c8211f8b8fab4423 /arch/arm64/include
parenta360190e8a42d47ea80355f286939ba82b02405a (diff)
arm64: hibernate: add __force attribute to gfp_t casting
Two new warnings are reported by sparse: "sparse warnings: (new ones prefixed by >>)" >> arch/arm64/kernel/hibernate.c:181:39: sparse: sparse: cast to restricted gfp_t >> arch/arm64/kernel/hibernate.c:202:44: sparse: sparse: cast from restricted gfp_t gfp_t has __bitwise type attribute and requires __force added to casting in order to avoid these warnings. Fixes: 50f53fb72181 ("arm64: trans_pgd: make trans_pgd_map_page generic") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com> Link: https://lore.kernel.org/r/20210201150306.54099-2-pasha.tatashin@soleen.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions