On Sun, 2026-09-13 at 22:47 -0700, Stephen Hemminger wrote:
> Replace the open coded isdigit(), errno and end pointer checks in
> nfb_eth_dev_create_for_ifc_by_port() with a range checked conversion.
> 
> The "port >= LONG_MAX" test was redundant with the interface count
> check that follows it, since ifc_cnt is far below LONG_MAX.
> 
> Signed-off-by: Stephen Hemminger <[email protected]>

Acked-by: Martin Spinler <[email protected]>

Reply via email to