WiringNP SPI doesn't work on my brand new Nanopi M1+ (Ubuntu 16.04, 4.11.2).

What I found out:
ioctl SPI_IOC_WR_MODE, etc. works (ioctl return value = 0)
but ioctl SPI_IOC_MESSAGE(1) I get an ioctl return value = -1.

My impression is that the structures of spidev.h and kernel are partly incompatible.

I hope my impression is wrong.