diff options
author | Masahiro Yamada <[email protected]> | 2022-02-14 01:57:16 +0900 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-02-16 15:57:58 +0100 |
commit | fe65deb56e552a8c9bf7f27860dbdeac12a36116 (patch) | |
tree | fc6f012b36c5477212f0778d3bb0f0efd521a565 /lib/test_fortify/write_overflow-memcpy.c | |
parent | fb7275acd6fb988313dddd8d3d19efa70d9015ad (diff) |
jump_label: Avoid unneeded casts in STATIC_KEY_INIT_{TRUE,FALSE}
Commit 3821fd35b58d ("jump_label: Reduce the size of struct static_key")
introduced the union to struct static_key.
It is more natual to set JUMP_TYPE_* to the .type field without casting.
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions