[PATCH] drm: Fix format error

wuyonggang001 at 208suo.com wuyonggang001 at 208suo.com
Wed Jul 26 03:30:24 UTC 2023


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

Signed-off-by: Yonggang Wu <wuyonggang001 at 208suo.com>
---
  drivers/gpu/drm/drm_legacy.h | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h
index 70c9dba114a6..f098a48cbdf4 100644
--- a/drivers/gpu/drm/drm_legacy.h
+++ b/drivers/gpu/drm/drm_legacy.h
@@ -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)


More information about the dri-devel mailing list