summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2026-10-28 15:09:27 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-10-28 15:09:27 +0800
commit48b960ad7057f84a375ae7ec803ea3ba6b038b5c (patch)
treea18393a35bbdb0ba8ce1876eef4399916aaa441b /tools/lib/python/kdoc/python_version.py
parented1a4f15b6b50f8cadec78e800c8cc9d35e1e25e (diff)
soc: loongson: loongson2_pm: Fix build warnings for 32BIT
Since loongson_sysconf.suspend_addr is unsigned long, use "unsigned long" instead of "u64" for casting, so as to avoid build warnings for 32BIT: drivers/soc/loongson/loongson2_pm.c: In function 'loongson2_pm_probe': >> drivers/soc/loongson/loongson2_pm.c:178:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 178 | loongson_sysconf.suspend_addr = (u64)phys_to_virt(suspend_addr); | Cc: stable@vger.kernel.org Fixes: 3d9aba6618d1 ("LoongArch: Adjust build infrastructure for 32BIT/64BIT") Closes: https://lore.kernel.org/oe-kbuild-all/202610190549.WM2PO3vO-lkp@intel.com/ Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions