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]
Date:   Wed, 14 Sep 2016 18:05:35 +0100
From:   Mark Brown <broonie@...nel.org>
To:     Martin Kaiser <martin@...ser.cx>
Cc:     linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] spi: imx: set spi_bus_clk for mx1, mx31 and mx35

On Thu, Sep 01, 2016 at 10:38:40PM +0200, Martin Kaiser wrote:
> Modify spi_imx_clkdiv_2() to return the resulting bus clock frequency
> when the selected clock divider is applied. Set spi_imx->spi_bus_clk to
> this frequency.
> 
> If spi_bus_clk is unset, spi_imx_calculate_timeout() causes a
> division by 0.
> 
> [   90.356106] Division by zero in kernel.
> [   90.362631] CPU: 0 PID: 130 Comm: spidev_test Not tainted 4.8.0-rc3-next-20160825+ #105
> [   90.372461] Hardware name: Freescale i.MX25 (Device Tree Support)
> [   90.378708] Backtrace:

Please think hard before including backtraces in upstream reports, they
are large and contain almost no useful information relative to their
size so often obscure the relevant content in your message. If part of
the backtrace is usefully illustrative then it's usually better to pull
out the relevant sections.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ