aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2016-11-15 07:02:32 +0000
committerGreg Kroah-Hartman <[email protected]>2016-11-15 18:26:06 +0000
commitc55d240003ae253d3057dcf93510c9bd64bb7a09 (patch)
treec80233dfdea2ba01b6a627fbe9cbc52a45df203c /drivers/fpga/altera-fpga2sdram.c
parentmei: fix parameter rename KDoc (diff)
downloadkernel-c55d240003ae253d3057dcf93510c9bd64bb7a09.tar.gz
kernel-c55d240003ae253d3057dcf93510c9bd64bb7a09.zip
lkdtm: Prevent the compiler from optimising lkdtm_CORRUPT_STACK()
At least on powerpc with GCC 6, the compiler is smart enough to optimise lkdtm_CORRUPT_STACK() into an empty function that just returns. If we print the buffer after we've written to it that prevents the compiler from optimising away data and the memset(). Signed-off-by: Michael Ellerman <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions