Skip to contentSkip to conversation

drm/panel: Fix sphinx warning

PATCH In review Sean Paul 3 participants 4 messages Aug 15, 2018 – Aug 16, 2018

Subsystems (3)
lore
Share & tools
lore

Sean Paul

author
#0 lore raw

PATCH 1/1 drm/panel: Fix sphinx warning

From: Sean Paul <[email protected]>

Resolves the following warnings.
../drivers/gpu/drm/drm_panel.c:158: WARNING: Unexpected indentation. ../drivers/gpu/drm/drm_panel.c:159: WARNING: Block quote ends without a blank line; unexpected unindent.

Fixes 83127f67e450 ("drm/panel: Flesh out kerneldoc")
Cc Daniel Vetter <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Jyri Sarha <[email protected]>
---
 drivers/gpu/drm/drm_panel.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_panel.c +2 -0
index b902361dee6e..0db486d10d1c 100644
@@ -152,7 +152,9 @@ EXPORT_SYMBOL(drm_panel_detach);
  *
  * Return: A pointer to the panel registered for the specified device tree
  * node or an ERR_PTR() if no panel matching the device tree node can be found.
+ *
  * Possible error codes returned by this function:
+ *
  * - EPROBE_DEFER: the panel device has not been probed yet, and the caller
  *   should retry later
  * - ENODEV: the device is not available (status != "okay" or "ok")
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 11 lines · Sean Paul

From: Sean Paul <[email protected]>

Resolves the following warnings.
../drivers/gpu/drm/drm_panel.c:158: WARNING: Unexpected indentation. ../drivers/gpu/drm/drm_panel.c:159: WARNING: Block quote ends without a blank line; unexpected unindent.

Fixes 83127f67e450 ("drm/panel: Flesh out kerneldoc")
Cc Daniel Vetter <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Jyri Sarha <[email protected]>

I was sitting on this fix since a while, but forgot to send it out :-/

You picked the wrong culprit though, the issue is with the enumeration formatting below:

Fixes c59eb3cfde1f ("drm/panel: Let of_drm_find_panel() return -ENODEV when the panel is disabled")
Cc Boris Brezillon <[email protected]>

With that adjusted: Reviewed-by: Daniel Vetter <[email protected]>

Quoted 21 lines
---
 drivers/gpu/drm/drm_panel.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_panel.c +2 -0
index b902361dee6e..0db486d10d1c 100644
@@ -152,7 +152,9 @@ EXPORT_SYMBOL(drm_panel_detach);
  *
  * Return: A pointer to the panel registered for the specified device tree
  * node or an ERR_PTR() if no panel matching the device tree node can be found.
+ *
  * Possible error codes returned by this function:
+ *
  * - EPROBE_DEFER: the panel device has not been probed yet, and the caller
  *   should retry later
  * - ENODEV: the device is not available (status != "okay" or "ok")
Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Acked-by on v1 1/1
#2 lore raw
In reply to Sean Paul
Quoted 6 lines · Sean Paul

From: Sean Paul <[email protected]>

Resolves the following warnings.
../drivers/gpu/drm/drm_panel.c:158: WARNING: Unexpected indentation. ../drivers/gpu/drm/drm_panel.c:159: WARNING: Block quote ends without a blank line; unexpected unindent.

Quoted 8 lines
Fixes 83127f67e450 ("drm/panel: Flesh out kerneldoc")
Cc Daniel Vetter <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Jyri Sarha <[email protected]>
---
 drivers/gpu/drm/drm_panel.c | 2 ++
 1 file changed, 2 insertions(+)

Feel free to push this after addressing Daniel's comments:

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

author Applied
#3 lore raw
Quoted 16 lines · Thierry Reding
Quoted 6 lines · Sean Paul

From: Sean Paul <[email protected]>

Resolves the following warnings.
../drivers/gpu/drm/drm_panel.c:158: WARNING: Unexpected indentation. ../drivers/gpu/drm/drm_panel.c:159: WARNING: Block quote ends without a blank line; unexpected unindent.

Quoted 8 lines
Fixes 83127f67e450 ("drm/panel: Flesh out kerneldoc")
Cc Daniel Vetter <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Jyri Sarha <[email protected]>
---
 drivers/gpu/drm/drm_panel.c | 2 ++
 1 file changed, 2 insertions(+)
Quoted 3 lines

Feel free to push this after addressing Daniel's comments:

Pushed to -misc-next

Thanks!

Sean

Signature · 5 lines
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel