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

Stephen Rothwell
2020-09-02T00:03:28Z

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]