OSDN Git Service

drm/qxl: Add space before open parentheses
authorShayenne da Luz Moura <shayenneluzmoura@gmail.com>
Fri, 26 Oct 2018 19:24:18 +0000 (16:24 -0300)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Oct 2018 06:20:00 +0000 (07:20 +0100)
Add space to remove checkpath.pl error:

ERROR: space required before the open parenthesis '('

Signed-off-by: Shayenne da Luz Moura <shayenneluzmoura@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1ab3ba05c140aae01bde66f73ff1f3b78bf7dfb3.1540579956.git.shayenneluzmoura@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_display.c

index 5b00e0f..2ce9a8d 100644 (file)
@@ -940,8 +940,8 @@ static enum drm_mode_status qxl_conn_mode_valid(struct drm_connector *connector,
        /* TODO: is this called for user defined modes? (xrandr --add-mode)
         * TODO: check that the mode fits in the framebuffer */
 
-       if(qdev->monitors_config_width == mode->hdisplay &&
-          qdev->monitors_config_height == mode->vdisplay)
+       if (qdev->monitors_config_width == mode->hdisplay &&
+           qdev->monitors_config_height == mode->vdisplay)
                return MODE_OK;
 
        for (i = 0; i < ARRAY_SIZE(common_modes); i++) {