394 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

build error: plat-omap/dma.c:1452:26: error: expected ',' or ';' before 'DRIVER_NAME'

Done
Bug owner
Opened this issue  
2021-08-05 23:27

https://gitlab.com/Linaro/lkft/mirrors/huawei/linux-openeuler/-/jobs/1457880684

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
In file included from /builds/linux/include/linux/printk.h:7,
                 from /builds/linux/include/linux/kernel.h:14,
                 from /builds/linux/include/linux/list.h:9,
                 from /builds/linux/include/linux/rculist.h:10,
                 from /builds/linux/include/linux/sched/signal.h:6,
                 from /builds/linux/include/linux/oom.h:6,
                 from /builds/linux/mm/oom_kill.c:20:
/builds/linux/mm/oom_kill.c: In function 'dump_tasks':
/builds/linux/include/linux/kern_levels.h:5:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
    5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
      |                  ^~~~~~
/builds/linux/include/linux/kern_levels.h:24:19: note: in expansion of macro 'KERN_SOH'
   24 | #define KERN_CONT KERN_SOH "c"
      |                   ^~~~~~~~
/builds/linux/include/linux/printk.h:362:9: note: in expansion of macro 'KERN_CONT'
  362 |  printk(KERN_CONT fmt, ##__VA_ARGS__)
      |         ^~~~~~~~~
/builds/linux/mm/oom_kill.c:483:5: note: in expansion of macro 'pr_cont'
  483 |     pr_cont("%-9ld %-9ld ", /* byte to KB */
      |     ^~~~~~~
/builds/linux/include/linux/kern_levels.h:5:18: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
    5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
      |                  ^~~~~~
/builds/linux/include/linux/kern_levels.h:24:19: note: in expansion of macro 'KERN_SOH'
   24 | #define KERN_CONT KERN_SOH "c"
      |                   ^~~~~~~~
/builds/linux/include/linux/printk.h:362:9: note: in expansion of macro 'KERN_CONT'
  362 |  printk(KERN_CONT fmt, ##__VA_ARGS__)
      |         ^~~~~~~~~
/builds/linux/mm/oom_kill.c:483:5: note: in expansion of macro 'pr_cont'
  483 |     pr_cont("%-9ld %-9ld ", /* byte to KB */
      |     ^~~~~~~
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' zImage
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' dtbs
mkdir -p /home/tuxbuild/.cache/tuxmake/builds/current/dtbsinstall
cp -r /home/tuxbuild/.cache/tuxmake/builds/current/arch/arm/boot/dts /home/tuxbuild/.cache/tuxmake/builds/current/dtbsinstall/dtbs
find /home/tuxbuild/.cache/tuxmake/builds/current/dtbsinstall/dtbs/ -type f -and -not -name '*.dtb' -delete
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1627457249 --clamp-mtime -caf /home/tuxbuild/.cache/tuxmake/builds/current/dtbs.tar.xz -C /home/tuxbuild/.cache/tuxmake/builds/current/dtbsinstall dtbs
xz -T0 --keep /home/tuxbuild/.cache/tuxmake/builds/current/vmlinux
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' headers_install INSTALL_HDR_PATH=/home/tuxbuild/.cache/tuxmake/builds/current/install_hdr/
tar --sort=name --owner=tuxmake:1000 --group=tuxmake:1000 --mtime=@1627457249 --clamp-mtime -caf /home/tuxbuild/.cache/tuxmake/builds/current/headers.tar.xz -C /home/tuxbuild/.cache/tuxmake/builds/current/install_hdr .
📄 Logs for 67b7d27be612 ("kprobes: Warn if the kprobe is reregistered") arm (defconfig) with gcc-10 @ https://builds.tuxbuild.com/1vvyh1su3iL3FLVfuNwsGnnLoTE/:
# to reproduce this build locally: tuxmake --target-arch=arm --kconfig=defconfig --toolchain=gcc-10 --wrapper=sccache --environment=KBUILD_BUILD_TIMESTAMP=@1627457259 --environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake --environment=SCCACHE_BUCKET=sccache.tuxbuild.com --runtime=podman --image=855116176053.dkr.ecr.us-east-1.amazonaws.com/tuxmake/arm_gcc-10 config default kernel xipkernel modules dtbs dtbs-legacy debugkernel headers
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' defconfig
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc'
/builds/linux/arch/arm/kernel/setup.c:971: warning: "CRASH_ALIGN" redefined
  971 | #define CRASH_ALIGN (128 << 20)
      | 
In file included from /builds/linux/arch/arm/kernel/setup.c:24:
/builds/linux/include/linux/kexec.h:67: note: this is the location of the previous definition
   67 | #define CRASH_ALIGN SZ_128M
      | 
In file included from /builds/linux/include/linux/module.h:19,
                 from /builds/linux/arch/arm/plat-omap/dma.c:28:
/builds/linux/arch/arm/plat-omap/dma.c:1452:26: error: expected ',' or ';' before 'DRIVER_NAME'
 1452 | MODULE_ALIAS("platform:" DRIVER_NAME);
      |                          ^~~~~~~~~~~
/builds/linux/include/linux/moduleparam.h:26:47: note: in definition of macro '__MODULE_INFO'
   26 |   = __MODULE_INFO_PREFIX __stringify(tag) "=" info
      |                                               ^~~~
/builds/linux/include/linux/module.h:166:30: note: in expansion of macro 'MODULE_INFO'
  166 | #define MODULE_ALIAS(_alias) MODULE_INFO(alias, _alias)
      |                              ^~~~~~~~~~~
/builds/linux/arch/arm/plat-omap/dma.c:1452:1: note: in expansion of macro 'MODULE_ALIAS'
 1452 | MODULE_ALIAS("platform:" DRIVER_NAME);
      | ^~~~~~~~~~~~

Comments (1)

Xie XiuQi created缺陷
Xie XiuQi set related repository to openEuler/kernel
Expand operation logs

Hey xiexiuqi, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

openeuler-ci-bot added
 
sig/Kernel
label
sanglipeng set assignee to sanglipeng
sanglipeng changed issue state from 待办的 to 已完成
sanglipeng added
 
issue_resolved
label
sanglipeng added
 
issue_resolved
label

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

Search

14c37bed 8189591 565d56ea 8189591