Re: [PATCH v3] spi: spi-cadence-quadspi: Fix division by zero warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

On 15/07/21 08:53PM, Mark Brown wrote:
> On Thu, 15 Jul 2021 16:21:32 +0000, Yoshitaka Ikeda wrote:
> > Fix below division by zero warning:
> > - Added an if statement because buswidth can be zero, resulting in division by zero.
> > - The modified code was based on another driver (atmel-quadspi).
> > 
> > [    0.795337] Division by zero in kernel.
> >    :
> > [    0.834051] [<807fd40c>] (__div0) from [<804e1acc>] (Ldiv0+0x8/0x10)
> > [    0.839097] [<805f0710>] (cqspi_exec_mem_op) from [<805edb4c>] (spi_mem_exec_op+0x3b0/0x3f8)
> 
> Applied to
> 
>    https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
> 
> Thanks!
> 
> [1/1] spi: spi-cadence-quadspi: Fix division by zero warning
>       commit: 55cef88bbf12f3bfbe5c2379a8868a034707e755

FYI, I commented on the patch yesterday and Yoshitaka re-rolled it [0]. 
Your call whether you want to replace this patch with v4. In either 
case, I think this patch should be backported to stable so it needs a 
Fixes tag (which v4 has).

[0] https://lore.kernel.org/linux-spi/958bb93b-db83-b685-5fa1-8e5dc40a5975@xxxxxxxxxxxx/

> 
> All being well this means that it will be integrated into the linux-next
> tree (usually sometime in the next 24 hours) and sent to Linus during
> the next merge window (or sooner if it is a bug fix), however if
> problems are discovered then the patch may be dropped or reverted.
> 
> You may get further e-mails resulting from automated or manual testing
> and review of the tree, please engage with people reporting problems and
> send followup patches addressing any issues that are reported if needed.
> 
> If any updates are required or you are submitting further changes they
> should be sent as incremental updates against current git, existing
> patches will not be replaced.
> 
> Please add any relevant lists and maintainers to the CCs when replying
> to this mail.
> 
> Thanks,
> Mark

-- 
Regards,
Pratyush Yadav
Texas Instruments Inc.



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux