aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2020-10-31 23:06:45 +0300
committerJessica Yu <[email protected]>2020-11-04 15:31:19 +0100
commit705e9195187d85249fbb0eaa844b1604a98fbc9a (patch)
tree3d4187ddc116e0ee8f90e5236680ccccefbcf9e5 /lib/test_overflow.c
parent5e8ed280dab9eeabc1ba0b2db5dbe9fe6debb6b5 (diff)
module: merge repetitive strings in module_sig_check()
The 'reason' variable in module_sig_check() points to 3 strings across the *switch* statement, all needlessly starting with the same text. Let's put the starting text into the pr_notice() call -- it saves 21 bytes of the object code (x86 gcc 10.2.1). Suggested-by: Joe Perches <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Signed-off-by: Sergey Shtylyov <[email protected]> Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions