From: David S. Miller Date: Sat, 16 Nov 2019 20:50:57 +0000 (-0800) Subject: Merge branch 'bnx2x-Remove-function-casts' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f92e88dbd46147fa34a3151acce0959d8b221e06;p=linux.git 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 --- f92e88dbd46147fa34a3151acce0959d8b221e06