From d6b9a8537ff8825e82b972129a3a3bbfb5c8ec65 Mon Sep 17 00:00:00 2001 From: GUO Zihua Date: Thu, 1 Sep 2022 15:10:30 +0800 Subject: [PATCH] CFI: Test CFI failure Signed-off-by: GUO Zihua Change-Id: Ic597a8ff2df2bfee6dd07b34947f6396064a66f5 --- linux-5.10/rk3568_patch/kernel.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index b8279ac..bb81bb8 100644 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -990360,7 +990360,7 @@ index 000000000..b1000cf61 + return ret; +} + -+netdev_tx_t BCMFASTPATH ++int BCMFASTPATH +dhd_start_xmit(struct sk_buff *skb, struct net_device *net) +{ + int ret; @@ -1168773,7 +1168773,7 @@ index 000000000..10e2ebb2a +int dhd_del_monitor(struct net_device *ndev); +int dhd_monitor_init(void *dhd_pub); +int dhd_monitor_uninit(void); -+netdev_tx_t dhd_start_xmit(struct sk_buff *skb, struct net_device *net); ++int dhd_start_xmit(struct sk_buff *skb, struct net_device *net); + +#ifdef ESCAN_CHANNEL_CACHE +void reset_roam_cache(struct bcm_cfg80211 *cfg); @@ -1229090,7 +1229090,7 @@ index 000000000..3df2acde2 +} monitor_states_t; +int dhd_add_monitor(const char *name, struct net_device **new_ndev); +int magiclink_add_p2p(const char *name, struct ether_addr *p2p_dev_addr, struct net_device **new_ndev); -+extern netdev_tx_t dhd_start_xmit(struct sk_buff *skb, struct net_device *net); ++extern int dhd_start_xmit(struct sk_buff *skb, struct net_device *net); +int dhd_del_monitor(struct net_device *ndev); +int dhd_monitor_init(void *dhd_pub); +int dhd_monitor_uninit(void); -- Gitee