[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YCQHNI3bowhhnRD+@gunter>
Date: Wed, 10 Feb 2021 17:17:56 +0100
From: Jessica Yu <jeyu@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Christoph Hellwig <hch@....de>, Petr Mladek <pmladek@...e.com>,
Miroslav Benes <mbenes@...e.cz>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] module: potential uninitialized return in
module_kallsyms_on_each_symbol()
+++ Dan Carpenter [10/02/21 13:57 +0300]:
>Smatch complains that:
>
> kernel/module.c:4472 module_kallsyms_on_each_symbol()
> error: uninitialized symbol 'ret'.
>
>This warning looks like it could be correct if the &modules list is
>empty.
>
>Fixes: 013c1667cf78 ("kallsyms: refactor {,module_}kallsyms_on_each_symbol")
>Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks!
Jessica
Powered by blists - more mailing lists