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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdb2CFckKo=VGb4gkyS0pXmqDrRBtJNeT1PjetctRquBVQ@mail.gmail.com>
Date:   Tue, 14 Mar 2023 23:07:19 +0100
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Alexey Khoroshilov <khoroshilov@...ras.ru>
Cc:     Andi Shyti <andi.shyti@...nel.org>,
        Lars-Peter Clausen <lars@...afoo.de>,
        lvc-project@...uxtesting.org,
        Kasumov Ruslan <xhxgldhlpfy@...il.com>,
        linux-arm-msm@...r.kernel.org,
        Bjorn Andersson <andersson@...nel.org>,
        linux-kernel@...r.kernel.org,
        Konrad Dybcio <konrad.dybcio@...aro.org>,
        linux-iio@...r.kernel.org, Andy Gross <agross@...nel.org>,
        Kasumov Ruslan <s02210418@....cs.msu.ru>,
        Jonathan Cameron <jic23@...nel.org>
Subject: Re: [lvc-project] [PATCH] iio: adc: qcom-pm8xxx-xoadc: Remove useless
 condition in pm8xxx_xoadc_parse_channel()

On Tue, Mar 14, 2023 at 11:03 PM Alexey Khoroshilov
<khoroshilov@...ras.ru> wrote:

> As far as I can see sentinel is an "empty" element of xoadc_channel in
> the array, i.e. hwchan->datasheet_name works as a sentinel while hwchan
> is always non NULL.

You're right, I was unable to understand my own code :(

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ