[PATCH] drm/nouveau: remove spaces after '*'

sunran001 at 208suo.com sunran001 at 208suo.com
Wed Jul 12 07:16:31 UTC 2023


Fix four occurrences of the checkpatch.pl error:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: Ran Sun <sunran001 at 208suo.com>
---
  drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/dispnv04/crtc.c 
b/drivers/gpu/drm/nouveau/dispnv04/crtc.c
index a6f2e681bde9..5ef84f4749e1 100644
--- a/drivers/gpu/drm/nouveau/dispnv04/crtc.c
+++ b/drivers/gpu/drm/nouveau/dispnv04/crtc.c
@@ -114,7 +114,7 @@ static void nv_crtc_set_image_sharpening(struct 
drm_crtc *crtc, int level)
   * bits 28-31: related to single stage mode? (bit 8/12)
   */

-static void nv_crtc_calc_state_ext(struct drm_crtc *crtc, struct 
drm_display_mode * mode, int dot_clock)
+static void nv_crtc_calc_state_ext(struct drm_crtc *crtc, struct 
drm_display_mode *mode, int dot_clock)
  {
      struct drm_device *dev = crtc->dev;
      struct nouveau_drm *drm = nouveau_drm(dev);
@@ -458,7 +458,7 @@ nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct 
drm_display_mode *mode)
   * be easily turned on/off after this.
   */
  static void
-nv_crtc_mode_set_regs(struct drm_crtc *crtc, struct drm_display_mode * 
mode)
+nv_crtc_mode_set_regs(struct drm_crtc *crtc, struct drm_display_mode 
*mode)
  {
      struct drm_device *dev = crtc->dev;
      struct nouveau_drm *drm = nouveau_drm(dev);


More information about the dri-devel mailing list