linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] mmc: renesas_sdhi: prevent overflow for max_req_size
@ 2019-03-14 22:31 Wolfram Sang
  2019-03-14 22:31 ` [RFC PATCH 1/2] mmc: tmio: introduce macro for max block size Wolfram Sang
  2019-03-14 22:31 ` [RFC PATCH 2/2] mmc: renesas_sdhi: prevent overflow for max_req_size Wolfram Sang
  0 siblings, 2 replies; 13+ messages in thread
From: Wolfram Sang @ 2019-03-14 22:31 UTC (permalink / raw)
  To: linux-mmc
  Cc: linux-renesas-soc, Yoshihiro Shimoda, Masahiro Yamada,
	Niklas Söderlund, Wolfram Sang

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-03-25 13:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-14 22:31 [RFC PATCH 0/2] mmc: renesas_sdhi: prevent overflow for max_req_size Wolfram Sang
2019-03-14 22:31 ` [RFC PATCH 1/2] mmc: tmio: introduce macro for max block size Wolfram Sang
2019-03-25 13:26   ` Ulf Hansson
2019-03-14 22:31 ` [RFC PATCH 2/2] mmc: renesas_sdhi: prevent overflow for max_req_size Wolfram Sang
2019-03-15  7:46   ` Geert Uytterhoeven
2019-03-15  8:29     ` Wolfram Sang
2019-03-15  8:49       ` Geert Uytterhoeven
2019-03-15  9:28         ` Wolfram Sang
2019-03-15  9:35           ` Geert Uytterhoeven
2019-03-15  9:39             ` Wolfram Sang
2019-03-15  9:46               ` Geert Uytterhoeven
2019-03-15 11:01                 ` Wolfram Sang
2019-03-25 13:26   ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).