merged.

Bruce

In message: [linux-yocto][linux-yocto][v5.4/standard/xlnx-soc][PATCH] net: 
axienet: Add missing return value type for __axienet_device_reset
on 11/11/2020 He Zhe wrote:

> To fix the following build warnings and the related work flow.
> 
> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:409:11: warning:
> 'return' with a value, in function returning void [-Wreturn-type]
> 
> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:413:9: warning:
> 'return' with a value, in function returning void [-Wreturn-type]
> 
> Fixes: 00c44b7e5c15 ("Merge branch 'v5.4/standard/base' into 
> v5.4/standard/xlnx-soc")
> Signed-off-by: He Zhe <[email protected]>
> ---
>  drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c 
> b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
> index cd6db1d21b40..4f2a853d34b6 100644
> --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
> +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
> @@ -387,7 +387,7 @@ static void xxvenet_setoptions(struct net_device *ndev, 
> u32 options)
>  }
>  
>  
> -void __axienet_device_reset(struct axienet_dma_q *q)
> +static int __axienet_device_reset(struct axienet_dma_q *q)
>  {
>       u32 timeout;
>  
> -- 
> 2.17.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9151): 
https://lists.yoctoproject.org/g/linux-yocto/message/9151
Mute This Topic: https://lists.yoctoproject.org/mt/78176063/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to