Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 26 Apr 2024 14:40:39 +0000 (17:40 +0300)
committer
Bjorn Helgaas <bhelgaas@google.com>
Fri, 26 Apr 2024 22:04:20 +0000 (17:04 -0500)
Make error path handling follow the standard pattern, i.e. checking for
errors first. This makes code much easier to read and understand despite
being a bit longer.