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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 4 Jul 2022 22:10:10 +0200
From:   Andy Shevchenko <andy.shevchenko@...il.com>
To:     Angel Iglesias <ang.iglesiasg@...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, 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(...);

>         }


-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists