summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-11-16 12:50:57 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-16 12:50:57 -0800
commitf92e88dbd46147fa34a3151acce0959d8b221e06 (patch)
tree2ba5684d5f36d57577a27236adcbbd0ca3ebb1d5 /net/core
parent2e47cb415f0a0ec6555d71598361e90f8c144fb2 (diff)
parent548e5ffe2e11d10c54f8425019900c87788fd838 (diff)
downloadlinux-stable-f92e88dbd46147fa34a3151acce0959d8b221e06.tar.gz
linux-stable-f92e88dbd46147fa34a3151acce0959d8b221e06.tar.bz2
linux-stable-f92e88dbd46147fa34a3151acce0959d8b221e06.zip
Merge branch 'bnx2x-Remove-function-casts'
Kees Cook says: ==================== bnx2x: Remove function casts In order to make the entire kernel usable under Clang's Control Flow Integrity protections, function prototype casts need to be avoided because this will trip CFI checks at runtime (i.e. a mismatch between the caller's expected function prototype and the destination function's prototype). Many of these cases can be found with -Wcast-function-type, which found that bnx2x had a bunch of needless (or at least confusing) function casts. This series removes them all. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions