linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] lib: packing: add documentation for pbuflen argument
@ 2020-06-28 14:49 Vladimir Oltean
  2020-06-29  3:45 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Oltean @ 2020-06-28 14:49 UTC (permalink / raw)
  To: davem, netdev; +Cc: linux-kernel

Fixes sparse warning:

Function parameter or member 'pbuflen' not described in 'packing'

Fixes: 554aae35007e ("lib: Add support for generic packing operations")
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
---
Hi David, since the original "packing" submission went in through your
tree, could you please take this patch as well?

 lib/packing.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/packing.c b/lib/packing.c
index 50d1e9f2f5a7..6ed72dccfdb5 100644
--- a/lib/packing.c
+++ b/lib/packing.c
@@ -73,6 +73,7 @@ static void adjust_for_msb_right_quirk(u64 *to_write, int *box_start_bit,
  * @endbit: The index (in logical notation, compensated for quirks) where
  *	    the packed value ends within pbuf. Must be smaller than, or equal
  *	    to, startbit.
+ * @pbuflen: The length in bytes of the packed buffer pointed to by @pbuf.
  * @op: If PACK, then uval will be treated as const pointer and copied (packed)
  *	into pbuf, between startbit and endbit.
  *	If UNPACK, then pbuf will be treated as const pointer and the logical
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] lib: packing: add documentation for pbuflen argument
  2020-06-28 14:49 [PATCH net] lib: packing: add documentation for pbuflen argument Vladimir Oltean
@ 2020-06-29  3:45 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-06-29  3:45 UTC (permalink / raw)
  To: olteanv; +Cc: netdev, linux-kernel

From: Vladimir Oltean <olteanv@gmail.com>
Date: Sun, 28 Jun 2020 17:49:35 +0300

> Fixes sparse warning:
> 
> Function parameter or member 'pbuflen' not described in 'packing'
> 
> Fixes: 554aae35007e ("lib: Add support for generic packing operations")
> Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
> ---
> Hi David, since the original "packing" submission went in through your
> tree, could you please take this patch as well?

Sure, applied, thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-29  3:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 14:49 [PATCH net] lib: packing: add documentation for pbuflen argument Vladimir Oltean
2020-06-29  3:45 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).