commit | 68cc444dab1e70e59a719b7bf44bcaacbffa7496 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Mon Jun 25 15:49:49 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 26 23:24:07 2018 +0900 |
tree | 43dff5dc1e4652ec13c17e47b3147cf52e18a101 | |
parent | a6e65e5d2ca4b1d3ff4ac03e056f82b6854ed50e [diff] |
mdio-mux-gpio: Remove VLA usage In the quest to remove all stack VLA usage from the kernel[1], this allocates the values buffer during the callback instead of putting it on the stack. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>