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: <20180508211536.3lacmi4izgduaniy@ninjato>
Date:   Tue, 8 May 2018 23:15:37 +0200
From:   Wolfram Sang <wsa@...-dreams.de>
To:     Tobias Jordan <Tobias.Jordan@...ktrobit.com>
Cc:     linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] i2c: axxia: enable clock before calling clk_get_rate()

On Mon, Apr 30, 2018 at 04:49:29PM +0200, Tobias Jordan wrote:
> axxia_i2c_init() uses clk_get_rate() for idev->i2c_clk. clk_get_rate()
> should only be called if the clock is enabled, so ensure that by moving
> the clk_prepare_enable() call before the call to axxia_i2c_init().
> 
> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Fixes: 08678b850cd0 ("i2c: axxia: Add I2C driver for AXM55xx")
> Signed-off-by: Tobias Jordan <Tobias.Jordan@...ktrobit.com>

Applied to for-next, thanks!


Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ