From: Armin Wolf
Date: Tue, 29 Sep 2020 19:13:26 +0200
> 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
> ---
> v2 changes:
> - remove __packed from struct e8390_pkt_hdr
Appl
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
---
v2 changes:
- remove __packed from struct e8390_pkt_hdr
---
drivers/net/ethernet/8390/lib8390.c | 4 ++--
1 file changed, 2 insertion