[SLOF] [PATCH v1 0/3] virtio-serial support for SLOF

Thomas Huth thuth at redhat.com
Tue Oct 18 05:34:16 AEDT 2016


On 10.10.2016 13:17, Nikunj A Dadhania wrote:
> SLOF currently uses spapr-vty devices for console, add virtio-serial device 
> support in SLOF. First couple of patches are preparatory patches and the 
> driver is part of the third patch.
> 
> Changelog:
> v0:
> * Fix indentation in patch 1
> * Addressed comments by Alexey
> 
> Nikunj A Dadhania (3):
>   Improve indentation in OF.fs
>   Generalize output banner write routine
>   Add virtio-serial device support

 Hi,

this series now breaks my build process here:

virtio-serial.c: In function ‘virtio_serial_init’:
virtio-serial.c:71:2: error: ‘for’ loop initial declarations are only
allowed in C99 mode
  for (int i = 0; i < RX_NUM_ELEMS; i++) {
  ^
virtio-serial.c:71:2: note: use option -std=c99 or -std=gnu99 to compile
your code
make[3]: *** [virtio-serial.o] Error 1

$ powerpc64-linux-gcc --version
powerpc64-linux-gcc (GCC) 4.8.5 20150515 (Advance-Toolchain-at7.0)
[ibm/gcc-4_8-branch, revision: 223219 merged from gcc-4_8-branch,
revision 223200]

 Thomas



More information about the SLOF mailing list