Commit c2ce66da authored by Beatriz Martins de Carvalho's avatar Beatriz Martins de Carvalho Committed by Daniel Vetter

drm: drm_connector.c: Adjust end of block comment

Add a new line with */ on the last line of a block comment to follow the
Linux kernel coding conventions.
Problem found by checkpatch.
Signed-off-by: default avatarBeatriz Martins de Carvalho <martinsdecarvalhobeatriz@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/59abdb2d65a643d5937e5773db684b926e8c9233.1618756333.git.martinsdecarvalhobeatriz@gmail.com
parent ad6ce32a
...@@ -279,7 +279,8 @@ int drm_connector_init(struct drm_device *dev, ...@@ -279,7 +279,8 @@ int drm_connector_init(struct drm_device *dev,
drm_connector_get_cmdline_mode(connector); drm_connector_get_cmdline_mode(connector);
/* We should add connectors at the end to avoid upsetting the connector /* We should add connectors at the end to avoid upsetting the connector
* index too much. */ * index too much.
*/
spin_lock_irq(&config->connector_list_lock); spin_lock_irq(&config->connector_list_lock);
list_add_tail(&connector->head, &config->connector_list); list_add_tail(&connector->head, &config->connector_list);
config->num_connector++; config->num_connector++;
...@@ -2288,7 +2289,8 @@ int drm_connector_property_set_ioctl(struct drm_device *dev, ...@@ -2288,7 +2289,8 @@ int drm_connector_property_set_ioctl(struct drm_device *dev,
static struct drm_encoder *drm_connector_get_encoder(struct drm_connector *connector) static struct drm_encoder *drm_connector_get_encoder(struct drm_connector *connector)
{ {
/* For atomic drivers only state objects are synchronously updated and /* For atomic drivers only state objects are synchronously updated and
* protected by modeset locks, so check those first. */ * protected by modeset locks, so check those first.
*/
if (connector->state) if (connector->state)
return connector->state->best_encoder; return connector->state->best_encoder;
return connector->encoder; return connector->encoder;
...@@ -2450,7 +2452,8 @@ int drm_mode_getconnector(struct drm_device *dev, void *data, ...@@ -2450,7 +2452,8 @@ int drm_mode_getconnector(struct drm_device *dev, void *data,
out_resp->encoder_id = 0; out_resp->encoder_id = 0;
/* Only grab properties after probing, to make sure EDID and other /* Only grab properties after probing, to make sure EDID and other
* properties reflect the latest status. */ * properties reflect the latest status.
*/
ret = drm_mode_object_get_properties(&connector->base, file_priv->atomic, ret = drm_mode_object_get_properties(&connector->base, file_priv->atomic,
(uint32_t __user *)(unsigned long)(out_resp->props_ptr), (uint32_t __user *)(unsigned long)(out_resp->props_ptr),
(uint64_t __user *)(unsigned long)(out_resp->prop_values_ptr), (uint64_t __user *)(unsigned long)(out_resp->prop_values_ptr),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment