[RFC PATCH 0/2] mmc: renesas_sdhi: prevent overflow for max_req_size

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

 



Here is a small series fixing an 'unsigned int' overflow. I think the patch
descriptions say it all.

Tested on a Renesas Salvator XS board (R-Car M3N) with no regressions.

Sent as RFC to give Shimoda-san some time to approve this approach.

Thanks!

   Wolfram


Wolfram Sang (2):
  mmc: tmio: introduce macro for max block size
  mmc: renesas_sdhi: prevent overflow for max_req_size

 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 8 ++++----
 drivers/mmc/host/renesas_sdhi_sys_dmac.c      | 2 +-
 drivers/mmc/host/tmio_mmc.h                   | 2 ++
 drivers/mmc/host/tmio_mmc_core.c              | 2 +-
 4 files changed, 8 insertions(+), 6 deletions(-)

-- 
2.11.0




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux