Re: [PATCH] vhost: Fix compile time error

2019-09-14 Thread Michael S. Tsirkin
On Sat, Sep 14, 2019 at 01:44:57AM -0700, Guenter Roeck wrote: > Building vhost on 32-bit targets results in the following error. > > drivers/vhost/vhost.c: In function 'translate_desc': > include/linux/compiler.h:549:38: error: > call to '__compiletime_assert_1879' declared with attribute

[PATCH] vhost: Fix compile time error

2019-09-14 Thread Guenter Roeck
Building vhost on 32-bit targets results in the following error. drivers/vhost/vhost.c: In function 'translate_desc': include/linux/compiler.h:549:38: error: call to '__compiletime_assert_1879' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long) Fixes: