Re: [PATCH v2 18/24] mlxbf-tmfifo: sparse tags for config access

2020-08-05 Thread Michael S. Tsirkin
On Tue, Aug 04, 2020 at 04:56:34PM +0200, Cornelia Huck wrote: > On Mon, 3 Aug 2020 17:00:01 -0400 > "Michael S. Tsirkin" wrote: > > > mlxbf-tmfifo accesses config space using native types - > > which works for it since the legacy virtio native types. > > > > This will break if it ever needs to

Re: [PATCH v2 18/24] mlxbf-tmfifo: sparse tags for config access

2020-08-04 Thread Cornelia Huck
On Mon, 3 Aug 2020 17:00:01 -0400 "Michael S. Tsirkin" wrote: > mlxbf-tmfifo accesses config space using native types - > which works for it since the legacy virtio native types. > > This will break if it ever needs to support modern virtio, > so with new tags previously introduced for virtio

[PATCH v2 18/24] mlxbf-tmfifo: sparse tags for config access

2020-08-03 Thread Michael S. Tsirkin
mlxbf-tmfifo accesses config space using native types - which works for it since the legacy virtio native types. This will break if it ever needs to support modern virtio, so with new tags previously introduced for virtio net config, sparse now warns for this in drivers. Since this is a legacy