commit | 2b2706aaaefee49ba0030bc679865db178e89e11 | [log] [tgz] |
---|---|---|
author | Armin Wolf <W_Armin@gmx.de> | Tue Sep 29 19:13:26 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 29 14:04:09 2020 -0700 |
tree | 39487832062cb5d504a806fc0f693051367af967 | |
parent | e6b6be53ec91461c5ecf41a66f54f5869fd989b9 [diff] |
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>