Message ID | 20200626130525.389469-9-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix a bunch of W=1 warnings in Misc | expand |
On Fri, Jun 26, 2020 at 3:05 PM Lee Jones <lee.jones@linaro.org> wrote: > > An attempt was made to provide a proper kerneldoc header for > cb710_sg_dwiter_write_next_block(), but a description for it's 'data' > argument was missed. > > Squashes W=1 kernel build warning: > > drivers/misc/cb710/sgbuf2.c:131: warning: Function parameter or member 'data' not described in 'cb710_sg_dwiter_write_next_block' > > Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> > Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
On Fri, Jun 26, 2020 at 02:05:23PM +0100, Lee Jones wrote: > An attempt was made to provide a proper kerneldoc header for > cb710_sg_dwiter_write_next_block(), but a description for it's 'data' > argument was missed. > > Squashes W=1 kernel build warning: > > drivers/misc/cb710/sgbuf2.c:131: warning: Function parameter or member 'data' not described in 'cb710_sg_dwiter_write_next_block' [...] Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
diff --git a/drivers/misc/cb710/sgbuf2.c b/drivers/misc/cb710/sgbuf2.c index dfd2969e36289..e5a4ed3701eb8 100644 --- a/drivers/misc/cb710/sgbuf2.c +++ b/drivers/misc/cb710/sgbuf2.c @@ -117,6 +117,7 @@ static void sg_dwiter_write_slow(struct sg_mapping_iter *miter, uint32_t data) /** * cb710_sg_dwiter_write_next_block() - write next 32-bit word to sg buffer * @miter: sg mapping iterator used for writing + * @data: data to write to sg buffer * * Description: * Writes 32-bit word starting at byte pointed to by @miter@
An attempt was made to provide a proper kerneldoc header for cb710_sg_dwiter_write_next_block(), but a description for it's 'data' argument was missed. Squashes W=1 kernel build warning: drivers/misc/cb710/sgbuf2.c:131: warning: Function parameter or member 'data' not described in 'cb710_sg_dwiter_write_next_block' Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/misc/cb710/sgbuf2.c | 1 + 1 file changed, 1 insertion(+)