diff options
author | Vincent Stehlé <vincent.stehle@intel.com> | 2016-08-31 14:30:50 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-09-12 15:45:16 +0200 |
commit | c11a0442b0fe01244de09849f62a0370482a0196 (patch) | |
tree | 07427d2674604ef46908f9c5dc9553510a34b692 /kernel/memremap.c | |
parent | Linux 4.8-rc6 (diff) | |
download | linux-c11a0442b0fe01244de09849f62a0370482a0196.tar.xz linux-c11a0442b0fe01244de09849f62a0370482a0196.zip |
pinctrl: intel: merrifield: fix dup size in probe
In function mrfld_pinctrl_probe(), when duplicating the mrfld_families
array the requested memory region length is multiplied once too many by the
number of elements in the original array. Fix this to spare some memory.
Fixes: 4e80c8f505741cbd ("pinctrl: intel: Add Intel Merrifield pin controller support")
Signed-off-by: Vincent Stehlé <vincent.stehle@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel/memremap.c')
0 files changed, 0 insertions, 0 deletions