mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
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: Armin Wolf <W_Armin@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e6b6be53ec
commit
2b2706aaae
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue