Skip to contentSkip to conversation

drm: Fix format error

PATCH New [email protected] 1 participant 1 message Jul 26, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drm: Fix format error

Fix the error(s):
ERROR: "foo * bar" should be "foo *bar"

---
 drivers/gpu/drm/drm_legacy.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/drm_legacy.h +2 -2
index 70c9dba114a6..f098a48cbdf4 100644
@@ -231,7 +231,7 @@ static inline int drm_legacy_dma_setup(struct drm_device *dev)
 #endif
 
 void drm_legacy_free_buffer(struct drm_device *dev,
-			    struct drm_buf * buf);
+			    struct drm_buf *buf);
 #if IS_ENABLED(CONFIG_DRM_LEGACY)
 void drm_legacy_reclaim_buffers(struct drm_device *dev,
 				struct drm_file *filp);
@@ -253,12 +253,12 @@ int drm_legacy_sg_free(struct drm_device *dev, void *data,
 void drm_legacy_init_members(struct drm_device *dev);
 void drm_legacy_destroy_members(struct drm_device *dev);
 void drm_legacy_dev_reinit(struct drm_device *dev);
-int drm_legacy_setup(struct drm_device * dev);
+int drm_legacy_setup(struct drm_device *dev);
 #else
 static inline void drm_legacy_init_members(struct drm_device *dev) {}
 static inline void drm_legacy_destroy_members(struct drm_device *dev) 

{}
static inline void drm_legacy_dev_reinit(struct drm_device *dev) {}
-static inline int drm_legacy_setup(struct drm_device * dev) { return 0; } +static inline int drm_legacy_setup(struct drm_device *dev) { return 0; }
#endif

#if IS_ENABLED(CONFIG_DRM_LEGACY)