diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2020-06-28 16:49:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-29 05:45:27 +0200 |
commit | 7dea927f702df030c02bd0c9e6e320a8315e3efa (patch) | |
tree | 3d6d7f4005371906fdcb834c4aaf3fe609aaeb9c /lib/packing.c | |
parent | bridge: mrp: Fix endian conversion and some other warnings (diff) | |
download | linux-7dea927f702df030c02bd0c9e6e320a8315e3efa.tar.xz linux-7dea927f702df030c02bd0c9e6e320a8315e3efa.zip |
lib: packing: add documentation for pbuflen argument
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | lib/packing.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |