[arm64:for-next/read-barrier-depends 53/67] include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert'
kernel test robot
lkp at intel.com
Mon Jul 20 19:43:05 EDT 2020
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/read-barrier-depends
head: 9d46618e4524f4fd2116700af7bf39c29256d7f2
commit: 1785af9a7be7f3071ecbb7dc92239316478a0a3a [53/67] compiler.h: Split {READ,WRITE}_ONCE definitions out into rwonce.h
config: parisc-randconfig-r016-20200720 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 1785af9a7be7f3071ecbb7dc92239316478a0a3a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from include/linux/console.h:17,
from drivers/gpu/drm/tiny/cirrus.c:19:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from include/linux/console.h:17,
from drivers/gpu/drm/radeon/radeon_device.c:29:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/radeon/radeon_device.c: At top level:
drivers/gpu/drm/radeon/radeon_device.c:637:6: warning: no previous prototype for 'radeon_device_is_virtual' [-Wmissing-prototypes]
637 | bool radeon_device_is_virtual(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from drivers/gpu/drm/radeon/radeon.h:63,
from drivers/gpu/drm/radeon/atombios_i2c.c:27:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/radeon/atombios_i2c.c: At top level:
drivers/gpu/drm/radeon/atombios_i2c.c:100:5: warning: no previous prototype for 'radeon_atom_hw_i2c_xfer' [-Wmissing-prototypes]
100 | int radeon_atom_hw_i2c_xfer(struct i2c_adapter *i2c_adap,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/radeon/atombios_i2c.c:150:5: warning: no previous prototype for 'radeon_atom_hw_i2c_func' [-Wmissing-prototypes]
150 | u32 radeon_atom_hw_i2c_func(struct i2c_adapter *adap)
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from drivers/gpu/drm/radeon/radeon.h:63,
from drivers/gpu/drm/radeon/rv770_dpm.c:25:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/radeon/rv770_dpm.c: At top level:
drivers/gpu/drm/radeon/rv770_dpm.c:47:18: warning: no previous prototype for 'rv770_get_ps' [-Wmissing-prototypes]
47 | struct rv7xx_ps *rv770_get_ps(struct radeon_ps *rps)
| ^~~~~~~~~~~~
drivers/gpu/drm/radeon/rv770_dpm.c:54:26: warning: no previous prototype for 'rv770_get_pi' [-Wmissing-prototypes]
54 | struct rv7xx_power_info *rv770_get_pi(struct radeon_device *rdev)
| ^~~~~~~~~~~~
drivers/gpu/drm/radeon/rv770_dpm.c:61:30: warning: no previous prototype for 'evergreen_get_pi' [-Wmissing-prototypes]
61 | struct evergreen_power_info *evergreen_get_pi(struct radeon_device *rdev)
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from drivers/gpu/drm/radeon/radeon.h:63,
from drivers/gpu/drm/radeon/sumo_dpm.c:24:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/radeon/sumo_dpm.c: At top level:
drivers/gpu/drm/radeon/sumo_dpm.c:81:25: warning: no previous prototype for 'sumo_get_pi' [-Wmissing-prototypes]
81 | struct sumo_power_info *sumo_get_pi(struct radeon_device *rdev)
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from drivers/gpu/drm/radeon/radeon.h:63,
from drivers/gpu/drm/radeon/r200.c:31:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/radeon/r200.c: At top level:
drivers/gpu/drm/radeon/r200.c:35:10: fatal error: r200_reg_safe.h: No such file or directory
35 | #include "r200_reg_safe.h"
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from drivers/gpu/drm/radeon/radeon.h:63,
from drivers/gpu/drm/radeon/evergreen_cs.c:29:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/radeon/evergreen_cs.c: At top level:
drivers/gpu/drm/radeon/evergreen_cs.c:32:10: fatal error: evergreen_reg_safe.h: No such file or directory
32 | #include "evergreen_reg_safe.h"
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from include/drm/spsc_queue.h:27,
from include/drm/gpu_scheduler.h:27,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:43,
from drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:29:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:29:
At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:29:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from include/drm/spsc_queue.h:27,
from include/drm/gpu_scheduler.h:27,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:43,
from drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:25:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c: In function 'amdgpu_allocate_static_csa':
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:40:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
40 | int r;
| ^
In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:25:
At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:25:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/asm-generic/barrier.h:16,
from arch/parisc/include/asm/barrier.h:29,
from arch/parisc/include/asm/atomic.h:11,
from include/linux/atomic.h:7,
from include/drm/spsc_queue.h:27,
from include/drm/gpu_scheduler.h:27,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h:28,
from drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:43,
from drivers/gpu/drm/amd/amdgpu/kv_dpm.c:24:
arch/parisc/include/asm/atomic.h: In function 'atomic_read':
>> include/asm-generic/rwonce.h:38:2: error: implicit declaration of function 'compiletime_assert' [-Werror=implicit-function-declaration]
38 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:57:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
57 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/atomic.h:73:9: note: in expansion of macro 'READ_ONCE'
73 | return READ_ONCE((v)->counter);
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/kv_dpm.c: In function 'kv_get_acp_boot_level':
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:1617:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
1617 | if (table->entries[i].clk >= 0) /* XXX */
| ^~
drivers/gpu/drm/amd/amdgpu/kv_dpm.c: In function 'kv_dpm_powergate_uvd':
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:1678:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1678 | int ret;
| ^~~
drivers/gpu/drm/amd/amdgpu/kv_dpm.c: In function 'kv_dpm_powergate_vce':
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:1706:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1706 | int ret;
| ^~~
In file included from drivers/gpu/drm/amd/amdgpu/kv_dpm.c:24:
At top level:
drivers/gpu/drm/amd/amdgpu/amdgpu.h:190:18: warning: 'sched_policy' defined but not used [-Wunused-const-variable=]
190 | static const int sched_policy = KFD_SCHED_POLICY_HWS;
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30,
from drivers/gpu/drm/amd/amdgpu/../include/dm_pp_interface.h:26,
from drivers/gpu/drm/amd/amdgpu/amdgpu.h:65,
from drivers/gpu/drm/amd/amdgpu/kv_dpm.c:24:
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:76:32: warning: 'dc_fixpt_ln2_div_2' defined but not used [-Wunused-const-variable=]
76 | static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:75:32: warning: 'dc_fixpt_ln2' defined but not used [-Wunused-const-variable=]
75 | static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:74:32: warning: 'dc_fixpt_e' defined but not used [-Wunused-const-variable=]
74 | static const struct fixed31_32 dc_fixpt_e = { 11674931555LL };
| ^~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:73:32: warning: 'dc_fixpt_two_pi' defined but not used [-Wunused-const-variable=]
73 | static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:72:32: warning: 'dc_fixpt_pi' defined but not used [-Wunused-const-variable=]
72 | static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL };
| ^~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:67:32: warning: 'dc_fixpt_zero' defined but not used [-Wunused-const-variable=]
67 | static const struct fixed31_32 dc_fixpt_zero = { 0 };
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
..
vim +/compiletime_assert +38 include/asm-generic/rwonce.h
30
31 /*
32 * Yes, this permits 64-bit accesses on 32-bit architectures. These will
33 * actually be atomic in some cases (namely Armv7 + LPAE), but for others we
34 * rely on the access being split into 2x32-bit accesses for a 32-bit quantity
35 * (e.g. a virtual address) and a strong prevailing wind.
36 */
37 #define compiletime_assert_rwonce_type(t) \
> 38 compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
39 "Unsupported access size for {READ,WRITE}_ONCE().")
40
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 32799 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200721/deb0fa48/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list