[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230919205347.qfof2omdw6tyedfe@moria.home.lan>
Date: Tue, 19 Sep 2023 16:53:47 -0400
From: Kent Overstreet <kent.overstreet@...ux.dev>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Brian Foster <bfoster@...hat.com>, linux-bcachefs@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
Nathan Chancellor <nathan@...nel.org>
Subject: Re: [PATCH] bcachefs: Fix -Wself-assign
On Tue, Sep 19, 2023 at 01:38:31PM -0700, Nick Desaulniers wrote:
> Fixes the following observed error reported by Nathan on IRC.
>
> fs/bcachefs/io_misc.c:467:6: error: explicitly assigning value of
> variable of type 'int' to itself [-Werror,-Wself-assign]
> 467 | ret = ret;
> | ~~~ ^ ~~~
>
> Reported-by: Nathan Chancellor <nathan@...nel.org>
> Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
Applied, thanks!
Powered by blists - more mailing lists