Re: [PATCH net-next v3 01/10] net: pktgen: replace ENOTSUPP with EOPNOTSUPP
From: Simon Horman
Date: Tue Feb 04 2025 - 09:43:01 EST
On Mon, Feb 03, 2025 at 06:01:52PM +0100, Peter Seiderer wrote:
> Replace ENOTSUPP with EOPNOTSUPP, fixes checkpatch hint
>
> WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
>
> and e.g.
>
> $ echo "clone_skb 1" > /proc/net/pktgen/lo\@0
> -bash: echo: write error: Unknown error 524
>
> Signed-off-by: Peter Seiderer <ps.report@xxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>