Skip to content

Commit a61ccaa

Browse files
author
Somasundaram Krishnasamy
committed
uek-rpm: Report removed symbols also during kabi check
The check-kabi tool currently doesn't report if a symbol present in the whitelist is unexported in the kernel. Orabug: 30725262 Signed-off-by: Somasundaram Krishnasamy <[email protected]> Reviewed-by: Dan Duval <[email protected]>
1 parent db651b2 commit a61ccaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

uek-rpm/ol7/check-kabi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ def check_kabi(symvers,kabi):
8080
if abi_dir != sym_dir:
8181
warn=1
8282
moved_symbols.append(symbol)
83+
else:
84+
fail=1
85+
changed_symbols.append(symbol)
8386

8487
if fail:
8588
print "*** ERROR - ABI BREAKAGE WAS DETECTED ***"

0 commit comments

Comments
 (0)