Thread (78 messages) 78 messages, 7 authors, 2020-12-05

Re: [PATCH v2 13/28] video: fbdev: riva: Fix kernel-doc and set but not used warnings

From: Sam Ravnborg <hidden>
Date: 2020-11-30 18:36:00
Also in: dri-devel

On Mon, Nov 30, 2020 at 01:14:52PM +0100, Thomas Zimmermann wrote:

Am 28.11.20 um 23:40 schrieb Sam Ravnborg:
quoted
Fix W=1 warnings:
- Fix kernel-doc
- Drop unused variables/code

v2:
   - Updated subject (Lee)

Signed-off-by: Sam Ravnborg <redacted>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: linux-fbdev@vger.kernel.org
Cc: Lee Jones <redacted>
---
  drivers/video/fbdev/riva/fbdev.c   |  9 ++++-----
  drivers/video/fbdev/riva/riva_hw.c | 28 ++++++++--------------------
  2 files changed, 12 insertions(+), 25 deletions(-)
diff --git a/drivers/video/fbdev/riva/fbdev.c b/drivers/video/fbdev/riva/fbdev.c
index ce55b9d2e862..55554b0433cb 100644
--- a/drivers/video/fbdev/riva/fbdev.c
+++ b/drivers/video/fbdev/riva/fbdev.c
@@ -464,7 +464,7 @@ static inline void reverse_order(u32 *l)
  /**
   * rivafb_load_cursor_image - load cursor image to hardware
- * @data: address to monochrome bitmap (1 = foreground color, 0 = background)
+ * @data8: address to monochrome bitmap (1 = foreground color, 0 = background)
   * @par:  pointer to private data
   * @w:    width of cursor image in pixels
   * @h:    height of cursor image in scanlines
@@ -843,9 +843,9 @@ static void riva_update_var(struct fb_var_screeninfo *var,
  /**
   * rivafb_do_maximize -
   * @info: pointer to fb_info object containing info for current riva board
- * @var:
- * @nom:
- * @den:
+ * @var: standard kernel fb changeable data
+ * @nom: nom
+ * @den: den
Well, it fixes the warning ;)
Yeah, I could not dig up anything useful to say here.
Was tempted to just drop all the kernel-doc syntax but that
was a larger change.

	Sam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help