[PATCH] net/mana: use %m for fscanf to read mac address

Ferruh Yigit ferruh.yigit at amd.com
Thu Sep 28 20:46:11 CEST 2023


On 7/25/2023 10:16 PM, longli at linuxonhyperv.com wrote:
> From: Long Li <longli at microsoft.com>
> 
> Use %m through fscanf to allocate mac dynamically is safer than using
> mac[20], this guarantees there is no overflow on mac[].
> 
> Signed-off-by: Long Li <longli at microsoft.com>
> 

Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>

Applied to dpdk-next-net/main, thanks.



More information about the dev mailing list