On Mon, 18 Nov 2019 18:28:48 +0100 Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> wrote: > > + netdev_err(ndev, "Received send-table offset too big:%u\n", > > + offset); > > + return; > > + } > > + > > + tab = (void *)nvmsg + offset; > > But tab is 'u32 *', doesn't compiler complain? nvmsg + offset is still of type void *. assigning void * to another pointer type is allowed with C.