# \[driver-core:driver-core-linus 6/6\] fs/pstore/platform.o: In function \`kmsg\_dump\_rewind': (.text+0x46): multiple definition of \`kmsg\_dump\_rewind'

- From: \<hidden\>
- Date: 2012-06-16 00:03:33 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/06/9469717
- Thread: https://ratatoskr.run/linuxppc-dev/2012/06/9469717/t.md

```text
Hi Kay,

Kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus
head:   e2ae715d66bf4becfb85eb84b7150e23cf27df30
commit: e2ae715d66bf4becfb85eb84b7150e23cf27df30 [6/6] kmsg - kmsg_dump() use iterator to receive log buffer content
config: i386-randconfig-usb2 (attached as .config)

All related error/warning messages are:

fs/pstore/platform.o: In function `kmsg_dump_rewind': (.text+0x46): multiple definition of `kmsg_dump_rewind'
fs/pstore/platform.o: In function `kmsg_dump_get_buffer': (.text+0x3f): multiple definition of `kmsg_dump_get_buffer'
fs/pstore/platform.o: In function `kmsg_dump_get_line': (.text+0x38): multiple definition of `kmsg_dump_get_line'
kernel/printk.o: In function `kmsg_dump_rewind': (.text+0x11b): multiple definition of `kmsg_dump_rewind'
kernel/printk.o: In function `kmsg_dump_get_buffer': (.text+0x114): multiple definition of `kmsg_dump_get_buffer'
kernel/printk.o: In function `kmsg_dump_get_line': (.text+0x10d): multiple definition of `kmsg_dump_get_line'
kernel/sys.o: In function `kmsg_dump_rewind': (.text+0x2ab): multiple definition of `kmsg_dump_rewind'
kernel/sys.o: In function `kmsg_dump_get_buffer': (.text+0x2a4): multiple definition of `kmsg_dump_get_buffer'
kernel/sys.o: In function `kmsg_dump_get_line': (.text+0x29d): multiple definition of `kmsg_dump_get_line'
arch/x86/kernel/reboot.o: In function `kmsg_dump_rewind': (.text+0x101): multiple definition of `kmsg_dump_rewind'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_buffer': (.text+0xfa): multiple definition of `kmsg_dump_get_buffer'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_line': (.text+0xf3): multiple definition of `kmsg_dump_get_line'

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [ref]                     Intel Corporation
```

## Attachments

- [0001-kmsg-kmsg\_dump-use-iterator-to-receive-log-buffer-co.patch](https://ratatoskr.run/linuxppc-dev/2012/06/9469717/attachment/0) (text/x-diff, 22521 bytes)
- [.config](https://ratatoskr.run/linuxppc-dev/2012/06/9469717/attachment/1) (text/plain, 39873 bytes)
