Skip to contentSkip to conversation

drm/dp: add missing ')' to I2C nack debug message

PATCH Applied Paulo Zanoni 3 participants 3 messages Jul 27, 2018 – Aug 1, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/dp: add missing ')' to I2C nack debug message

"(an unmatched left parenthesis
creates an unresolved tension
that will stay with you all day."
-- Randall Munroe

---
 drivers/gpu/drm/drm_dp_helper.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_dp_helper.c +2 -1
index 0cccbcb2d03e..8c6b9fd89f8a 100644
@@ -850,7 +850,8 @@ static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)
 			return ret;
 
 		case DP_AUX_I2C_REPLY_NACK:
-			DRM_DEBUG_KMS("I2C nack (result=%d, size=%zu\n", ret, msg->size);
+			DRM_DEBUG_KMS("I2C nack (result=%d, size=%zu)\n",
+				      ret, msg->size);
 			aux->i2c_nack_count++;
 			return -EREMOTEIO;
 
Signature · 6 lines
2.14.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Paulo Zanoni

"(an unmatched left parenthesis
creates an unresolved tension
that will stay with you all day."
-- Randall Munroe

Quoted 21 lines
---
 drivers/gpu/drm/drm_dp_helper.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_dp_helper.c +2 -2
index 0cccbcb2d03e..8c6b9fd89f8a 100644
@@ -850,7 +850,8 @@ static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)
                        return ret;
 
                case DP_AUX_I2C_REPLY_NACK:
-                       DRM_DEBUG_KMS("I2C nack (result=%d, size=%zu\n", ret, msg->size);
+                       DRM_DEBUG_KMS("I2C nack (result=%d, size=%zu)\n",
+                                     ret, msg->size);
                        aux->i2c_nack_count++;
                        return -EREMOTEIO;
 
--

2.14.4

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Applied
#2 lore raw
Quoted 9 lines · Alex Deucher
Quoted 6 lines · Paulo Zanoni

"(an unmatched left parenthesis
creates an unresolved tension
that will stay with you all day."
-- Randall Munroe

pushed to drm-misc-next, thanks.

Quoted 22 lines
Quoted 22 lines
---
 drivers/gpu/drm/drm_dp_helper.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_dp_helper.c +2 -2
index 0cccbcb2d03e..8c6b9fd89f8a 100644
@@ -850,7 +850,8 @@ static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)
                        return ret;
 
                case DP_AUX_I2C_REPLY_NACK:
-                       DRM_DEBUG_KMS("I2C nack (result=%d, size=%zu\n", ret, msg->size);
+                       DRM_DEBUG_KMS("I2C nack (result=%d, size=%zu)\n",
+                                     ret, msg->size);
                        aux->i2c_nack_count++;
                        return -EREMOTEIO;
 
--

2.14.4

Quoted 8 lines
Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel