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: <CAOMZO5AVyubQUpEhm-oRb8bmAH=5w2TxTnuuvoY_+HLhpnBaTw@mail.gmail.com>
Date: Tue, 26 Nov 2024 16:56:23 -0300
From: Fabio Estevam <festevam@...il.com>
To: Frank Li <Frank.Li@....com>
Cc: jic23@...nel.org, haibo.chen@....com, imx@...ts.linux.dev, lars@...afoo.de, 
	linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 2/2] iio: adc: vf610_adc: limit i.MX6SX's channel
 number to 4

On Tue, Nov 26, 2024 at 4:53 PM Frank Li <Frank.Li@....com> wrote:

> +       chip_info = device_get_match_data(dev);
> +       if (!chip_info)

This NULL check is not needed.

If the code entered probe(), a compatible was matched.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ