linux-next: build warning after merge of the dma-mapping tree

From: Stephen Rothwell
Date: Tue Sep 01 2020 - 20:03:28 EST


Hi all,

After merging the dma-mapping tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

In file included from arch/arm/mach-keystone/keystone.c:24:
arch/arm/mach-keystone/keystone.c: In function 'keystone_platform_notifier':
arch/arm/mach-keystone/memory.h:17:34: warning: conversion from 'long long unsigned int' to 'phys_addr_t' {aka 'unsigned int'} changes value from '34359738368' to '0' [-Woverflow]
17 | #define KEYSTONE_HIGH_PHYS_START 0x800000000ULL
| ^~~~~~~~~~~~~~
arch/arm/mach-keystone/keystone.c:40:39: note: in expansion of macro 'KEYSTONE_HIGH_PHYS_START'
40 | int ret = dma_set_offset_range(dev, KEYSTONE_HIGH_PHYS_START,
| ^~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

eef520b232c6 ("dma-mapping: introduce DMA range map, supplanting dma_pfn_offset")

--
Cheers,
Stephen Rothwell

Attachment: pgpgLninXsVuK.pgp
Description: OpenPGP digital signature