[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f5c1bdcdb456f524f4f5a45a7434c8a4@208suo.com>
Date: Wed, 26 Jul 2023 11:30:24 +0800
From: wuyonggang001@...suo.com
To: alexander.deucher@....com
Cc: linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: [PATCH] drm: Fix format error
Fix the error(s):
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Yonggang Wu <wuyonggang001@...suo.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)
Powered by blists - more mailing lists