Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: nand: Declare tBERS, tR and tPROG as u64 to avoid integer overflow
All timings in nand_sdr_timings are expressed in picoseconds but some of them may not fit in an u32. Signed-off-by: Boris Brezillon <[email protected]> Fixes: 204e7ec ("mtd: nand: Add a few more timings to nand_sdr_timings") Reported-by: Alexander Dahl <[email protected]> Cc: <[email protected]> Reviewed-by: Alexander Dahl <[email protected]> Tested-by: Alexander Dahl <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
- Loading branch information