diff options
author | Kees Cook <keescook@chromium.org> | 2018-06-25 15:49:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-26 23:24:07 +0900 |
commit | 68cc444dab1e70e59a719b7bf44bcaacbffa7496 (patch) | |
tree | 43dff5dc1e4652ec13c17e47b3147cf52e18a101 /lib/debugobjects.c | |
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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions