[PATCH v3 0/2] drm/ofdrm: Fix sparse warnings

Thomas Zimmermann tzimmermann at suse.de
Thu Nov 3 10:16:25 UTC 2022


Fix two types of sparse warnings in ofdrm. Reported by the LKP bot.

v3:
	* use IOMEM_ERR_PTR() (Javier)
v2:
	* convert PCI ID endianness (Alex)

Thomas Zimmermann (2):
  drm/ofdrm: Convert PCI IDs to CPU endianness for comparing
  drm/ofdrm: Cast error pointers to void __iomem *

 drivers/gpu/drm/tiny/ofdrm.c | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)


base-commit: f5a9fb2d688dfc6efa1fd779a2d225048bfb10f9
-- 
2.38.0



More information about the dri-devel mailing list