lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311070356.BvkVnvMw-lkp@intel.com>
Date:   Tue, 7 Nov 2023 04:22:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     Paul Burton <paul.burton@...s.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: {standard input}:123: Error: found '(', expected: ')'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d2f51b3516dade79269ff45eae2a7668ae711b25
commit: 21e3134b3ec09e722cbcda69788f206adc8db1f4 MIPS: barrier: Clean up rmb() & wmb() definitions
date:   4 years, 1 month ago
config: mips-randconfig-r011-20220330 (https://download.01.org/0day-ci/archive/20231107/202311070356.BvkVnvMw-lkp@intel.com/config)
compiler: mipsel-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231107/202311070356.BvkVnvMw-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311070356.BvkVnvMw-lkp@intel.com/

All errors (new ones prefixed by >>):

   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
   {standard input}:140: Error: found '(', expected: ')'
   {standard input}:140: Error: found '(', expected: ')'
   {standard input}:140: Error: non-constant expression in ".if" statement
   {standard input}:140: Error: junk at end of line, first unrecognized character is `('
--
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c: In function 'amdgpu_device_fini':
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:2935:13: warning: variable 'r' set but not used [-Wunused-but-set-variable]
    2935 |         int r;
         |             ^
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:29,
                    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:53,
                    from drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:40:
   At top level:
   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 };
         |                                ^~~~~~~~~~~~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:683:5: warning: no previous prototype for 'amdgpu_ras_error_cure' [-Wmissing-prototypes]
     683 | int amdgpu_ras_error_cure(struct amdgpu_device *adev,
         |     ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:29,
                    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:53,
                    from drivers/gpu/drm/amd/amdgpu/amdgpu_ras.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 };
         |                                ^~~~~~~~~~~~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
   {standard input}:1184: Error: found '(', expected: ')'
   {standard input}:1184: Error: found '(', expected: ')'
   {standard input}:1184: Error: non-constant expression in ".if" statement
   {standard input}:1184: Error: junk at end of line, first unrecognized character is `('
--
   arch/mips/kernel/mips-cm.c:157:13: warning: no previous prototype for '__mips_cm_l2sync_phys_base' [-Wmissing-prototypes]
     157 | phys_addr_t __mips_cm_l2sync_phys_base(void)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   cc1: warning: drivers/gpu/drm/amd/include: No such file or directory [-Wmissing-include-dirs]
   drivers/gpu/drm/radeon/radeon_combios.c: In function 'radeon_combios_get_power_modes':
   drivers/gpu/drm/radeon/radeon_combios.c:2641:17: warning: variable 'blocks' set but not used [-Wunused-but-set-variable]
    2641 |         u8 rev, blocks, tmp;
         |                 ^~~~~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   cc1: warning: drivers/gpu/drm/amd/include: No such file or directory [-Wmissing-include-dirs]
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   cc1: warning: drivers/gpu/drm/amd/include: No such file or directory [-Wmissing-include-dirs]
   drivers/gpu/drm/radeon/r600.c: In function 'r600_pcie_gart_tlb_flush':
   drivers/gpu/drm/radeon/r600.c:1083:21: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
    1083 |                 u32 tmp;
         |                     ^~~
   drivers/gpu/drm/radeon/r600.c: At top level:
   drivers/gpu/drm/radeon/r600.c:1616:5: warning: no previous prototype for 'r600_gpu_check_soft_reset' [-Wmissing-prototypes]
    1616 | u32 r600_gpu_check_soft_reset(struct radeon_device *rdev)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/r600.c:3481:5: warning: no previous prototype for 'r600_ih_ring_alloc' [-Wmissing-prototypes]
    3481 | int r600_ih_ring_alloc(struct radeon_device *rdev)
         |     ^~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/r600.c:3517:6: warning: no previous prototype for 'r600_ih_ring_fini' [-Wmissing-prototypes]
    3517 | void r600_ih_ring_fini(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/r600.c: In function 'r600_mmio_hdp_flush':
   drivers/gpu/drm/radeon/r600.c:4393:21: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
    4393 |                 u32 tmp;
         |                     ^~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   cc1: warning: drivers/gpu/drm/amd/include: No such file or directory [-Wmissing-include-dirs]
   drivers/gpu/drm/radeon/rv770.c:1138:6: warning: no previous prototype for 'rv770_set_clk_bypass_mode' [-Wmissing-prototypes]
    1138 | void rv770_set_clk_bypass_mode(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   cc1: warning: drivers/gpu/drm/amd/include: No such file or directory [-Wmissing-include-dirs]
   drivers/gpu/drm/radeon/radeon_legacy_tv.c: In function 'radeon_legacy_tv_mode_set':
   drivers/gpu/drm/radeon/radeon_legacy_tv.c:540:31: warning: variable 'tv_pll_cntl1' set but not used [-Wunused-but-set-variable]
     540 |         uint32_t tv_pll_cntl, tv_pll_cntl1, tv_ftotal;
         |                               ^~~~~~~~~~~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
--
   cc1: warning: drivers/gpu/drm/amd/include: No such file or directory [-Wmissing-include-dirs]
   drivers/gpu/drm/radeon/evergreen.c:1281:6: warning: no previous prototype for 'evergreen_fix_pci_max_read_req_size' [-Wmissing-prototypes]
    1281 | void evergreen_fix_pci_max_read_req_size(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:1914:5: warning: no previous prototype for 'evergreen_get_number_of_dram_channels' [-Wmissing-prototypes]
    1914 | u32 evergreen_get_number_of_dram_channels(struct radeon_device *rdev)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:2664:6: warning: no previous prototype for 'evergreen_mc_stop' [-Wmissing-prototypes]
    2664 | void evergreen_mc_stop(struct radeon_device *rdev, struct evergreen_mc_save *save)
         |      ^~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:2762:6: warning: no previous prototype for 'evergreen_mc_resume' [-Wmissing-prototypes]
    2762 | void evergreen_mc_resume(struct radeon_device *rdev, struct evergreen_mc_save *save)
         |      ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:2850:6: warning: no previous prototype for 'evergreen_mc_program' [-Wmissing-prototypes]
    2850 | void evergreen_mc_program(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c: In function 'evergreen_gpu_init':
   drivers/gpu/drm/radeon/evergreen.c:3136:13: warning: variable 'mc_shared_chmap' set but not used [-Wunused-but-set-variable]
    3136 |         u32 mc_shared_chmap, mc_arb_ramcfg;
         |             ^~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c: At top level:
   drivers/gpu/drm/radeon/evergreen.c:3710:5: warning: no previous prototype for 'evergreen_mc_init' [-Wmissing-prototypes]
    3710 | int evergreen_mc_init(struct radeon_device *rdev)
         |     ^~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:3769:6: warning: no previous prototype for 'evergreen_print_gpu_status_regs' [-Wmissing-prototypes]
    3769 | void evergreen_print_gpu_status_regs(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:3797:6: warning: no previous prototype for 'evergreen_is_display_hung' [-Wmissing-prototypes]
    3797 | bool evergreen_is_display_hung(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:3826:5: warning: no previous prototype for 'evergreen_gpu_check_soft_reset' [-Wmissing-prototypes]
    3826 | u32 evergreen_gpu_check_soft_reset(struct radeon_device *rdev)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:4009:6: warning: no previous prototype for 'evergreen_gpu_pci_config_reset' [-Wmissing-prototypes]
    4009 | void evergreen_gpu_pci_config_reset(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:4110:6: warning: no previous prototype for 'sumo_rlc_fini' [-Wmissing-prototypes]
    4110 | void sumo_rlc_fini(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:4153:5: warning: no previous prototype for 'sumo_rlc_init' [-Wmissing-prototypes]
    4153 | int sumo_rlc_init(struct radeon_device *rdev)
         |     ^~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:4381:5: warning: no previous prototype for 'evergreen_rlc_resume' [-Wmissing-prototypes]
    4381 | int evergreen_rlc_resume(struct radeon_device *rdev)
         |     ^~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/radeon/evergreen.c:4670:6: warning: no previous prototype for 'evergreen_irq_suspend' [-Wmissing-prototypes]
    4670 | void evergreen_irq_suspend(struct radeon_device *rdev)
         |      ^~~~~~~~~~~~~~~~~~~~~
   {standard input}: Assembler messages:
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: found '(', expected: ')'
>> {standard input}:123: Error: non-constant expression in ".if" statement
>> {standard input}:123: Error: junk at end of line, first unrecognized character is `('
..

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ