[PATCH 0/2] meson-sm: Fix issues when reading data from sm

Carlo Caione carlo at caione.org
Fri Mar 3 07:17:57 PST 2017


From: Carlo Caione <carlo at endlessm.com>

While working on a related driver I noticed a couple of problems in the
meson-sm driver. The problems are unrelated but since the fixes touch the same
codebase I decided to submit these in the same patchset.

Carlo Caione (2):
  firmware: meson-sm: Check for buffer output size
  firmware: meson-sm: Allow 0 as valid return value

 drivers/firmware/meson/meson_sm.c       | 20 ++++++++++++++++----
 drivers/nvmem/meson-efuse.c             |  2 +-
 include/linux/firmware/meson/meson_sm.h |  4 ++--
 3 files changed, 19 insertions(+), 7 deletions(-)

-- 
2.12.0




More information about the linux-arm-kernel mailing list