[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=whDpj0wAwFK8tDjVUkRoT06ZD-d+OQpojodPPqE_eEcHg@mail.gmail.com>
Date: Wed, 5 Oct 2022 10:40:45 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Hans de Goede <hdegoede@...hat.com>
Cc: Andy Shevchenko <andy@...radead.org>,
Mark Gross <mark.gross@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
"Rafael J . Wysocki" <rjw@...ysocki.net>,
linux-acpi <linux-acpi@...r.kernel.org>
Subject: Re: [GIT PULL] platform-drivers-x86 for 6.1-1
On Wed, Oct 5, 2022 at 5:46 AM Hans de Goede <hdegoede@...hat.com> wrote:
>
> There also is a small conflict in drivers/platform/mellanox/mlxreg-lc.c
> due to a locking fix which landed mid 6.0 mixing unlock + return with
> goto style exits in error paths. My tree has a fix on top to consistently
> use the goto style. Here you can just take the version from me tree.
Ugh.
Why use goto when a simple 'break' would work for all but the first case?
I took your side rather than clean things up and not being able to
test the end result, but it does seem pointlessly complicated.
Linus
Powered by blists - more mailing lists