Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1240208 > unrolled thread
| Started by | kbuild test robot <lkp@intel.com> |
|---|---|
| First post | 2015-10-06 09:30 +0200 |
| Last post | 2015-10-06 09:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [v6] serial: 8250_dw: Add support for big-endian MMIO accesses kbuild test robot <lkp@intel.com> - 2015-10-06 09:30 +0200
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Date | 2015-10-06 09:30 +0200 |
| Subject | Re: [v6] serial: 8250_dw: Add support for big-endian MMIO accesses |
| Message-ID | <qguRf-7Jr-93@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi Noam,
[auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore]
config: x86_64-randconfig-i0-201540 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/tty/serial/8250/8250_dw.c: In function '_dw8250_serial_in32be':
>> drivers/tty/serial/8250/8250_dw.c:214:20: warning: passing argument 1 of 'ioread32be' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return ioread32be(addr);
^
In file included from arch/x86/include/asm/io.h:203:0,
from include/linux/io.h:25,
from drivers/tty/serial/8250/8250_dw.c:17:
include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *'
extern unsigned int ioread32be(void __iomem *);
^
vim +214 drivers/tty/serial/8250/8250_dw.c
198 }
199
200 static unsigned int dw8250_serial_in32(struct uart_port *p, int offset)
201 {
202 unsigned int value = readl(p->membase + (offset << p->regshift));
203
204 return dw8250_modify_msr(p, offset, value);
205 }
206
207 static void _dw8250_serial_out32be(unsigned int value, void __iomem *addr)
208 {
209 iowrite32be(value, addr);
210 }
211
212 static unsigned int _dw8250_serial_in32be(const void __iomem *addr)
213 {
> 214 return ioread32be(addr);
215 }
216
217 static void dw8250_serial_out32be(struct uart_port *p, int offset, int value)
218 {
219 iowrite32be(value, p->membase + (offset << p->regshift));
220 dw8250_check_LCR(p, offset, value);
221 }
222
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to top | Article view | linux.kernel
csiph-web