Skip to content
Commit 2b2706aa authored by Armin Wolf's avatar Armin Wolf Committed by David S. Miller
Browse files

lib8390: Replace panic() call with BUILD_BUG_ON



Replace panic() call in lib8390.c with BUILD_BUG_ON()
since checking the size of struct e8390_pkt_hdr should
happen at compile-time.

Signed-off-by: default avatarArmin Wolf <W_Armin@gmx.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e6b6be53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment