Re: [PATCH v1] kbuild: enforce -Werror=unused-result

2020-12-20 Thread Masahiro Yamada
On Tue, Dec 1, 2020 at 7:42 PM Masahiro Yamada wrote: > > On Tue, Nov 17, 2020 at 7:47 PM Olaf Hering wrote: > > > > It is a hard error if a return value is ignored. > > In case the return value has no meaning, remove the attribute. > > > > Signed-off-by: Olaf Hering > > Applied to linux-kbuild.

Re: [PATCH v1] kbuild: enforce -Werror=unused-result

2020-12-01 Thread Masahiro Yamada
On Tue, Nov 17, 2020 at 7:47 PM Olaf Hering wrote: > > It is a hard error if a return value is ignored. > In case the return value has no meaning, remove the attribute. > > Signed-off-by: Olaf Hering Applied to linux-kbuild. Thanks. > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH v1] kbuild: enforce -Werror=unused-result

2020-11-17 Thread Olaf Hering
It is a hard error if a return value is ignored. In case the return value has no meaning, remove the attribute. Signed-off-by: Olaf Hering --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e2c3f65c4721..c7f9acffad42 100644 --- a/Makefile +