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: <CAHp75VfJUhA3WmmirctmrieQfZKSNerFa=nwPmBYvffXUTRp9A@mail.gmail.com>
Date:   Sun, 18 Oct 2020 21:31:59 +0300
From:   Andy Shevchenko <andy.shevchenko@...il.com>
To:     Fabien Parent <fparent@...libre.com>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        "moderated list:ARM/Mediatek SoC support" 
        <linux-mediatek@...ts.infradead.org>,
        linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
        linux-iio <linux-iio@...r.kernel.org>,
        Matthias Brugger <matthias.bgg@...il.com>,
        Jonathan Cameron <jic23@...nel.org>, chun-hung.wu@...iatek.com,
        Alexandru Ardelean <alexandru.ardelean@...log.com>,
        Peter Meerwald <pmeerw@...erw.net>,
        Lars-Peter Clausen <lars@...afoo.de>
Subject: Re: [PATCH v2] iio: adc: mediatek: fix unset field

On Sun, Oct 18, 2020 at 8:16 PM Fabien Parent <fparent@...libre.com> wrote:
>
> dev_comp field is used in a couple of places but it is never set. This
> results in kernel oops when dereferencing a NULL pointer. Set the
> `dev_comp` field correctly in the probe function.
>
> Fixes: 6d97024dce23 ("iio: adc: mediatek: mt6577-auxadc, add mt6765 support")
>
> Signed-off-by: Fabien Parent <fparent@...libre.com>

Shouldn't be a blank line in the tag block.

I think Jonathan can fix it, but be more careful in the future.

-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ