[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240111070936.9693-1-chenguohua_716@163.com>
Date: Thu, 11 Jan 2024 07:09:36 +0000
From: GuoHua Chen <chenguohua_716@....com>
To: daniel@...ll.ch,
mripard@...nel.org,
tzimmermann@...e.de,
airlied@...il.com,
kraxel@...hat.com,
maarten.lankhorst@...ux.intel.com,
airlied@...hat.com
Cc: virtualization@...ts.linux.dev,
linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
spice-devel@...ts.freedesktop.org,
GuoHua Chen <chenguohua_716@....com>
Subject: [PATCH] dma-buf: Clean up errors in qxl_release.h
Fix the following errors reported by checkpatch:
ERROR: else should follow close brace '}'
Signed-off-by: GuoHua Chen <chenguohua_716@....com>
---
drivers/gpu/drm/qxl/qxl_release.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c
index 368d26da0d6a..7f7aa7a62629 100644
--- a/drivers/gpu/drm/qxl/qxl_release.c
+++ b/drivers/gpu/drm/qxl/qxl_release.c
@@ -299,8 +299,7 @@ int qxl_alloc_release_reserved(struct qxl_device *qdev, unsigned long size,
} else if (type == QXL_RELEASE_CURSOR_CMD) {
cur_idx = 2;
priority = 1;
- }
- else {
+ } else {
DRM_ERROR("got illegal type: %d\n", type);
return -EINVAL;
}
--
2.17.1
Powered by blists - more mailing lists