diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2020-12-01 12:47:25 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-12-02 16:49:39 +0000 |
commit | aed5041ef9a3f594ed9dc0bb5ee7e1bbccfd3366 (patch) | |
tree | 4ce4e0502cc6c9200e579d69ee85370ae163cb97 /fs/block_dev.c | |
parent | 04435217f96869ac3a8f055ff68c5237a60bcd7e (diff) |
of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS
of_dma_get_max_cpu_address() is not defined if !CONFIG_OF_ADDRESS, so
return early in of_unittest_dma_get_max_cpu_address().
Fixes: 07d13a1d6120 ("of: unittest: Add test for of_dma_get_max_cpu_address()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions