forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/include/net/garp.h
....@@ -37,7 +37,7 @@
3737 static inline struct garp_skb_cb *garp_cb(struct sk_buff *skb)
3838 {
3939 BUILD_BUG_ON(sizeof(struct garp_skb_cb) >
40
- FIELD_SIZEOF(struct sk_buff, cb));
40
+ sizeof_field(struct sk_buff, cb));
4141 return (struct garp_skb_cb *)skb->cb;
4242 }
4343