lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <886b99b4a0f2ddb8cd89faba9e23b5d710f59f12.camel@gmail.com>
Date:   Wed, 06 Jul 2022 00:56:45 +0200
From:   Angel Iglesias <ang.iglesiasg@...il.com>
To:     Andy Shevchenko <andy.shevchenko@...il.com>
Cc:     Jonathan Cameron <jic23@...nel.org>,
        Lars-Peter Clausen <lars@...afoo.de>,
        Paul Cercueil <paul@...pouillou.net>,
        Ulf Hansson <ulf.hansson@...aro.org>,
        "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
        linux-iio <linux-iio@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 3/5] iio: pressure: bmp280: simplify driver
 initialization logic

On Mon, 2022-07-04 at 22:10 +0200, Andy Shevchenko wrote:
> On Mon, Jul 4, 2022 at 2:46 AM Angel Iglesias <ang.iglesiasg@...il.com> wrote:
> > 
> > Extended chip_info structure with default values for configuration params
> > to simplify and unify initialization logic for different supported sensors
> 
> ...
> 
> > +       ret = data->chip_info->read_calib(data, chip_id);
> > +       if (ret < 0) {
> > +               dev_err(data->dev,
> > +                       "failed to read calibration coefficients\n");
> > +               return ret;
> 
> return dev_err_probe(...);

Got it, thank you!

> >         }
> 
> 
Thanks,
Angel Iglesias

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ