Re: [PATCH] drm/vkms: Fix cpu_to_le16()/le16_to_cpu() warnings

2024-07-15 Thread José Expósito
On Sun, Jul 14, 2024 at 09:41:10PM +0200, Thomas Zimmermann wrote: > Hi > > Am 12.07.24 um 18:16 schrieb José Expósito: > > Building with Sparse enabled prints this warning for cpu_to_le16() > > calls: > > > > warning: incorrect type in assignment (different base types) > > expected

Re: [PATCH] drm/vkms: Fix cpu_to_le16()/le16_to_cpu() warnings

2024-07-14 Thread Thomas Zimmermann
Hi Am 12.07.24 um 18:16 schrieb José Expósito: Building with Sparse enabled prints this warning for cpu_to_le16() calls: warning: incorrect type in assignment (different base types) expected unsigned short [usertype] got restricted __le16 [usertype] And this warning for